Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.
- A super useful list of chat variables in Nightbot can be found here: https://wiki.nightbot.tv/chat:variables
- -- Useful --
- - Streamer command
- - 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.
- - *Command:
- - !addcom -ul=mod !streamer Please take a minute to check out $(touser) playing some $(twitch game $(touser)) at http://www.twitch.tv/$(touser) <3
- - Usage: !streamer Username
- - Result: Please take a minute to check out Username playing some Counter-Strike: Global Offensive at http://www.twitch.tv/Username <3
- - Note: "Counter-Strike: Global Offensive" is just an example game. It will display the current active game on the channel.
- - Uptime command
- - Shows how long the stream has been live for this current session.
- - Note: BetterTTV users can just use /uptime in their chat to display it for themselves, but this is nice for mobile/non-BTTV users.
- - *Command:
- - !addcom !uptime The stream has been live for: $(customapi https://nightdev.com/hosted/uptime.php?channel=YOUR_CHANNEL_HERE)
- - Notes:
- - Change "YOUR_CHANNEL_HERE" with whatever channel you are adding it in.
- - 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).
- - Usage: !uptime
- - 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)
- -- Fun --
- - Hug/hold commands
- - Just an adorable hugging or holding command <3
- - *Commands:
- - !addcom !hug $(user) hugs $(query) lirikHug
- - Usage: !hug ThatGuy
- - Result: Username hugs ThatGuy lirikHug
- - Note: lirikHug is this emote: https://twitchemotes.com/emote/29049
- - !addcom !hold $(user) holds $(query) lirikH
- - Usage: !hold ThatGuy
- - Result: Username holds ThatGuy lirikH
- - Note: lirikH is this emote: https://twitchemotes.com/emote/15020
- - Fake ban/mod commands
- - Trolling purposes.
- - *Commands:
- - !addcom !ban $(touser) has been permanently banned from ChannelName. MiniK
- - Usage: !ban Username
- - Result: Username has been permanently banned from ChannelName. MiniK
- - Note: MiniK is this emote: https://twitchemotes.com/emote/2868
- - !addcom !mod $(touser) is now a moderator in ChannelName. MiniK
- - Usage: !mod Username
- - Result: Username is now a moderator in ChannelName. MiniK
- - Note: MiniK is this emote: https://twitchemotes.com/emote/2868
- -- Custom APIs --
- 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.
- - Latest tweet command
- - 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.
- - *Commands:
- - Fixed username version:
- - !addcom !twitter Latest tweet by @Username: $(customapi https://decapi.me/twitter/latest.php?name=Username)
- - Usage: !twitter
- - Result: Latest tweet by @Username: This is the latest tweet by @Username.
- - Note: Retweets will also be shown with this format instead of a normal tweet: RT @RetweetedUser: This is a retweeted tweet.
- - Note 2: Retweets can also be removed from displaying by adding "&no_rts" after "Username".
- - Mod-only version for custom users:
- - !addcom -ul=mod !tweet Latest tweet by @$(query): $(customapi https://decapi.me/twitter/latest.php?name=$(query))
- - Usage: !tweet Username
- - Result: Latest tweet by @Username: This is the latest tweet by @Username.
- - Note: Retweets will also be shown with this format instead of a normal tweet: RT @RetweetedUser: This is a retweeted tweet.
- - Note 2: Retweets can also be removed from displaying by adding "&no_rts" after "$(query)" and before the last parenthesis.
- - Song request by search
- - 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