Advertisement
Cactus

Nightbot (Twitch.tv) commands

May 24th, 2015
14,506
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.99 KB | None | 0 0
  1. Here's a compilation of some of the commands I have setup a lot in Nightbot for those that want some fun or useful commands.
  2. A super useful list of chat variables in Nightbot can be found here: https://wiki.nightbot.tv/chat:variables
  3.  
  4. -- Useful --
  5. - Streamer command
  6. - This will allow -moderators- (to prevent abuse from regular viewers) of a channel to easily shoutout another streamer. There are multiple variants of this, but the most common one includes the username, active game on their channel and (obviously) their link.
  7. - *Command:
  8. - !addcom -ul=mod !streamer Please take a minute to check out $(touser) playing some $(twitch game $(touser)) at http://www.twitch.tv/$(touser) <3
  9. - Usage: !streamer Username
  10. - Result: Please take a minute to check out Username playing some Counter-Strike: Global Offensive at http://www.twitch.tv/Username <3
  11. - Note: "Counter-Strike: Global Offensive" is just an example game. It will display the current active game on the channel.
  12. - Uptime command
  13. - Shows how long the stream has been live for this current session.
  14. - Note: BetterTTV users can just use /uptime in their chat to display it for themselves, but this is nice for mobile/non-BTTV users.
  15. - *Command:
  16. - !addcom !uptime The stream has been live for: $(customapi https://nightdev.com/hosted/uptime.php?channel=YOUR_CHANNEL_HERE)
  17. - Notes:
  18. - Change "YOUR_CHANNEL_HERE" with whatever channel you are adding it in.
  19. - This relies on a "custom API", and could possibly not work one day (this hasn't changed in like a year, so don't worry).
  20. - Usage: !uptime
  21. - Result: "The stream has been live for: 1 hour, 7 minutes" OR "The stream has been live for: This channel is not live" (depending on the live status, obviously)
  22. -- Fun --
  23. - Hug/hold commands
  24. - Just an adorable hugging or holding command <3
  25. - *Commands:
  26. - !addcom !hug $(user) hugs $(query) lirikHug
  27. - Usage: !hug ThatGuy
  28. - Result: Username hugs ThatGuy lirikHug
  29. - Note: lirikHug is this emote: https://twitchemotes.com/emote/29049
  30. - !addcom !hold $(user) holds $(query) lirikH
  31. - Usage: !hold ThatGuy
  32. - Result: Username holds ThatGuy lirikH
  33. - Note: lirikH is this emote: https://twitchemotes.com/emote/15020
  34. - Fake ban/mod commands
  35. - Trolling purposes.
  36. - *Commands:
  37. - !addcom !ban $(touser) has been permanently banned from ChannelName. MiniK
  38. - Usage: !ban Username
  39. - Result: Username has been permanently banned from ChannelName. MiniK
  40. - Note: MiniK is this emote: https://twitchemotes.com/emote/2868
  41. - !addcom !mod $(touser) is now a moderator in ChannelName. MiniK
  42. - Usage: !mod Username
  43. - Result: Username is now a moderator in ChannelName. MiniK
  44. - Note: MiniK is this emote: https://twitchemotes.com/emote/2868
  45. -- Custom APIs --
  46. Nightbot supports a custom API chat variable that fetches information from a page. This allows streamers to have dynamic commands, since it can depend on other APIs (my examples include Twitter and YouTube, which are only a few). There are a few scripts out there that do different things, but as of right now I will only use my own scripts in this list.
  47. - Latest tweet command
  48. - Listed below, there are two variants. One that displays the latest tweet from a fixed account, and one that displays the latest tweet from a specified user. I recommend putting the latter to mod-only, as that can easily be abused to link something malicious via Nightbot.
  49. - *Commands:
  50. - Fixed username version:
  51. - !addcom !twitter Latest tweet by @Username: $(customapi https://decapi.me/twitter/latest.php?name=Username)
  52. - Usage: !twitter
  53. - Result: Latest tweet by @Username: This is the latest tweet by @Username.
  54. - Note: Retweets will also be shown with this format instead of a normal tweet: RT @RetweetedUser: This is a retweeted tweet.
  55. - Note 2: Retweets can also be removed from displaying by adding "&no_rts" after "Username".
  56. - Mod-only version for custom users:
  57. - !addcom -ul=mod !tweet Latest tweet by @$(query): $(customapi https://decapi.me/twitter/latest.php?name=$(query))
  58. - Usage: !tweet Username
  59. - Result: Latest tweet by @Username: This is the latest tweet by @Username.
  60. - Note: Retweets will also be shown with this format instead of a normal tweet: RT @RetweetedUser: This is a retweeted tweet.
  61. - Note 2: Retweets can also be removed from displaying by adding "&no_rts" after "$(query)" and before the last parenthesis.
  62. - Song request by search
  63. - A project that attempts to replicate Moobot's song request searching on YouTube by using keywords (such as song titles). A blog post I made explains it better: https://www.thomassen.xyz/blog/nightbot-sq/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement