Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Nightbot commands reference for Twitch and sometimes youtube gaming. Most are accessible via google and reading many docs but I like to keep things in one location for reference. If you want to see something here lmk on Twitter: or comment below.

add, edit, delete

  • !addcom !keyword New text here
  • !editcom !keyword Edited version of the text here
  • !delcom !keyword

reference user whom entered command

  • $(user)

reference entered text

  • $(query)

add an alias to another command

!addcom !newkeyword -a=!currentkeyword $(query)

add a shoutout command for mods to reference other streamers

!addcom -ul=moderator !shoutout Check out $(touser) at$(touser)

  • Usage: !shoutout username

time commands example

!addcom !time Clintus lives in Arizona USA. Time there is currently $(time US/Arizona "HH:mm z") [or $(time US/Arizona "h:mma")]

following since (aka followage using

!addcom !followage $(urlfetch$(touser)&channel=$(channel)&format=mwdhms)

fortnite wins (via

Clintus' Fortnite Wins: $(urlfetch $(urlfetch $(urlfetch See all his stats here:

  • Initially xgerhard set this up for query commands, I changed it to only respond w/ a certain users info but the bot didn't like this. Xgerhard setup the &notext var to turn off the username response. I'd like more customizability but it's a good start
  • reference

setup a tweet the stream command

!addcom !tweet Click here to tweet & promote the stream! $(tweet Come watch @Clintus play $(twitch $(channel) "{{game}} on Twitch! {{url}}"))

setup a command for LMGTFY (let me google that for you)

!addcom !lmgtfy Let Me Google That For You $(touser)$(querystring)

  • Usage is like this: !lmgtfy @username text to google

setup a !multiset command to auto-update !multi for multiple twitch stream viewer

  • This will overwrite anything you currently have in !multi so heads up
  • First add !multi: !addcom !multi Multi-stream link:
  • Next add !multiset command for mods+ only !addcom !multiset -ul=moderator -a=!commands edit !multi Multi-stream link:$(channel)/$(query) (or use instead)
  • Usage: Never touch !multi, just do !multiset otherchannel and it'll append it to the url/yourchannel. For multiple streamers just do this: !multiset channel2/channel3/channel4 etc.

Reference Info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment