Nightbot is one of the most popular chat bots for live streams, and it works on YouTube as well as Twitch. Most guides to it are written for Twitch, though, and a few things work differently on YouTube.
This guide covers how to add Nightbot to a YouTube live stream, the limits you will run into, and when a bot built for YouTube is the better fit.
Who is Nightbot in YouTube chat?
If you are a viewer and saw "Nightbot" reply in a YouTube live chat, it is a bot, not a person. The streamer added it to answer chat commands such as !socials or !uptime, post reminders on a timer and help moderate chat. Typing !commands usually shows what it can do in that channel.
How to add Nightbot to your YouTube live stream
These steps follow Nightbot's setup docs.
- Sign in at nightbot.tv with YouTube. Use the Google account that owns the channel you stream from, and grant the access Nightbot asks for. You land on the Nightbot dashboard.
- Click Join. The button is at the top right of the dashboard. Nightbot then shows instructions for making it a moderator in your channel.
- Make Nightbot a moderator. Follow those instructions, so it can post replies and act on its moderation settings in your chat.
- Go live with a public stream. Nightbot only joins your YouTube channel while you are live and the stream is public. Its docs say this is because of limits on YouTube's API.
- Test it. From another account, type
!commandsin chat and check that Nightbot replies.
Then add your own commands. The fastest way is to type a line such as !commands add !discord Join us: https://discord.gg/yourcode in your chat. The Nightbot commands list has 30 ready to copy, and Nightbot timer examples has 20 timer messages.
What Nightbot cannot do on YouTube
Nightbot was built on Twitch, and some of its best-known features depend on it.
- No private or unlisted test streams. Nightbot only joins public live streams, so you cannot rehearse your commands on a private stream first, and it is not in chat before you go live.
- No Twitch variables.
$(twitch ...)reads a Twitch profile, so the usual uptime, follower-count and last-game commands have nothing to read on YouTube. Nightbot has no separate uptime variable. - No chat formatting.
/meand/announcereplies are Twitch features. Nightbot's docs say chat commands are not supported on YouTube. - No followage. Nightbot's followage commands read Twitch data, and YouTube chat has no reliable equivalent, so "followed for 2 years" replies do not carry over.
- Short messages. YouTube chat messages are limited to 200 characters, for any bot. Keep replies under that, and add any
!commands addline longer than that from the dashboard.
None of these make Nightbot a bad choice. If you stream on both Twitch and YouTube, one bot across both platforms is a real advantage. If you only stream on YouTube, you are working around a Twitch tool.
Nightbot compared with a YouTube-first bot
Looomy is a chat bot built only for YouTube Live. Here is how the two compare for a YouTube streamer.
| What you need | Nightbot | Looomy |
|---|---|---|
| Platforms | Twitch, YouTube and SOOP | YouTube |
| Joins your stream | While you are live and public | One click on any of your live streams, including unlisted; automatically on paid plans |
| Custom commands and timers | Yes | Yes, with the same $(...) variable style |
| Add commands from chat | !commands add | !commands add |
| Random replies | With $(eval ...) JavaScript | With $(random ...) |
| Stream uptime on YouTube | No uptime variable | $(uptime) |
| Viewers' own questions | Fixed command replies | Answers from knowledge you approve |
| Import from Nightbot | Not needed | Commands, timers and trusted viewers |
Looomy also adds things a chat-only bot does not cover: commands that make on-stream characters react or launch confetti, !clip to save a moment for highlights, and a creator page where viewers can tip.
Two differences matter most day to day. Because Looomy can join an unlisted stream, you can rehearse your commands before going public. And when viewers ask something no command covers, such as which mic you use or when the next stream is, Looomy answers in chat from what you have taught it, and stays silent when it does not know. How grounded AI answers work explains the approach.
Switching from Nightbot without starting over
You do not need to retype your setup. Looomy can import your Nightbot commands, timers and trusted viewers. Anything that uses a variable Looomy does not support, such as a $(twitch ...) lookup, is marked for review instead of breaking in live chat.
The Nightbot import guide walks through checking each item. If you keep both bots for a while, make sure they do not answer the same command, or chat gets two replies.
Frequently asked questions
Why is Nightbot not responding on YouTube?
Check these in order: you are live and the stream is public, Nightbot has joined from the dashboard, it is a moderator in your channel, the command is typed exactly as saved, and its cooldown has passed. Start with the first, because Nightbot does not join private or unlisted streams.
Is Nightbot safe to add to my YouTube channel?
Nightbot asks for access to your YouTube account when you sign in, and you make it a moderator so it can work in chat. Grant only what you are comfortable with. You can remove it as a moderator, and revoke its access from your Google account's third-party connections, at any time.
What are the best Nightbot commands for YouTube?
Start with !socials, !discord, !so for shout-outs, !lurk and one fun command such as !8ball. The full list of 30 Nightbot commands notes which ones work on YouTube.
Can I use Nightbot and Looomy together?
Yes, but give each bot its own commands. If both answer !discord, chat sees two replies. A simple path is to import your Nightbot commands into Looomy, test them on one stream, and then remove Nightbot.
Nightbot is a trademark of its respective owner. Looomy is not affiliated with Nightbot.



