Chat Bots

Top Nightbot Commands

Nightbot is the most widely used chatbot across all of Twitch for its simplicity and reliability!

Before trying to add commands, make sure Nightbot is paired to your channel at https://nightbot.tv

One of our jobs at Stream Builds is to help guide streamers in the right direction on how to add useful and funny chat commands. Below is a list of our favorite commands!

This list includes the Command Function, the Command Message, and the Command Response.

**To ADD/EDIT/DELETE commands visit Nightbot’s Help Document for Commands at https://docs.nightbot.tv/commands/commands

**For all other help on how to develop custom commands, visit Nightbot’s Full Help Document at https://docs.nightbot.tv/

Function

Message

Response


!accountage

$(touser) has been on Twitch for $(urlfetch https://decapi.me/twitch/accountage/$(touser))

“User” has been on Twitch for X years, X months


!advice

$(djkhaled) – DJ Khaled

{Random Advice by DJ Khaled} – DJ Khaled


!ban

/me is pretend banning $(touser). It’s not real, but it makes $(user) feel better.

Nightbot is pretend banning “User”. It’s not real, but it makes “Sender” feel better.


!bot

$(touser) $(eval const responses = [‘is NOT a bot!’, ‘is a bot!’]; responses[Math.floor(Math.random() * responses.length)];)

“User” is NOT a bot!


!christmas

*Needs to be adjusted every year

There are $(countdown dec 25 2019 12:00:00 AM EST) till Christmas!! ?

There are X days X minutes X seconds till Christmas!! ?


!flipacoin

$(eval Math.floor(Math.random() * 2) == 0 ? “Heads” : “Tails”)

Heads or Tails


!followage

$(urlfetch https://2g.be/twitch/following.php?user=$(touser)&channel=$(channel)&format=mwdhms)

“User” has been following “Channel” for X year, X months, x weeks, X days, X hours, X minutes, X seconds


!followcount

$(twitch $(channel) “{{displayName}} has {{followers}} followers!”)

“Channel” has X followers!


!hosts

Thanks to all the users currently hosting: $(urlfetch https://api.crunchprank.net/twitch/hosts/$(channel)?implode)

Thanks to all the users currently hosting: “Host1”, “Host2”, “Host3″…


!hotness

$(touser), on a scale of 1 to 10, you’re like a $(eval Math.floor((Math.random() * 10) + 1))

“User”, on a scale of 1 to 10, you’re like a X


!insult

$(touser), $(urlfetch https://insult.mattbas.org/api/insult)

“User”, {Random Insult}


!lurk

/me $(touser) is now lurking! <3

“User” is now lurking! <3


!math

*Works with all basic math functions

The answer is: $(urlfetch http://twitch.center/customapi/math?expr=$(querystring))

The answer is: X


!prime

*Utilizes a website designed to post multiple messages into your chat. Posts a message every 5 seconds.

$(urlfetch https://tinyurl.com/PrimeOnTTV)


!rps <Rock, Paper, Scissors>

*Type your choice of object after the command.

$(urlfetch https://api.thefyrewire.com/twitch/pastebin/KkKhYZx0?filter=$(1)&user=$(user))

“User”, Are you going to shoot or what? I can’t play ⛰?✂️ by myself…


!sh

*Suicide Hotline

If you are having suicidal thoughts, please call this number right now. 1-800-273-8255

If you are having suicidal thoughts, please call this number right now. 1-800-273-8255


!ftshop

Current items in the Fortnite Item Shop: https://fnbr.co/shop

Current items in the Fortnite Shop: https://fnbr.co/shop


!so

*Shoutout Command

Be sure to follow $(touser)! They were recently playing $(twitch game $(touser)) at https://twitch.tv/$(touser)

Be sure to follow “User”! They were recently playing “Game” at https://twitch.tv/”User”


!subage

*Requires authentication by broadcaster at first use.

$(touser) has been subbed for $(urlfetch https://decapi.me/twitch/subage/$(channel)/$(touser))

“User” has been subbed for X years, X months


!subcount

There are $(eval ($(twitch subcount)) – 1) current subscribers.

There are X current subscribers.


!sus

/me $(touser) is like $(urlfetch http://2g.be/twitch/randomnumber.php?=defstart=1&defend=100)% SUS…

“User” is X% SUS! NotLikeThis


!uptime

Stream uptime: $(twitch $(channel) “{{uptimeLength}}”)

Stream uptime: X hours, X minutes, X seconds


!viewcount

$(twitch $(channel) “{{displayName}} has {{viewers}} viewers”)

“Channel” has X viewers

If any of these commands fail to function, please message us at https://streambuilds.tv/contact and select the topic “Website Error” and describe which command is failing and what the response is in the chat.