How to Add Nightbot to Twitch: A Complete Setup Guide
Nightbot is one of the most widely used chat bots for Twitch streamers — and for good reason. It handles chat moderation, runs commands, manages giveaways, and keeps your stream running smoothly while you focus on actually playing or performing. If you've been wondering how to get it set up, the process is more straightforward than most people expect.
What Nightbot Actually Does
Before diving into setup, it helps to understand what you're working with. Nightbot is a cloud-hosted chat bot, meaning it runs on Nightbot's own servers — not your PC. You don't need to keep a program open in the background or worry about it going offline when your computer restarts. Once connected, it runs independently as long as your stream is live.
Its core functions include:
- Auto-moderation — filtering spam, excessive caps, links, and blacklisted words
- Custom commands — letting viewers (or mods) trigger preset responses like !discord or !schedule
- Timers — posting automated messages at set intervals
- Song requests — letting viewers queue up music via YouTube
- Giveaways — picking random winners from active chatters
How to Add Nightbot to Your Twitch Channel
Step 1: Create a Nightbot Account
Go to nightbot.tv and click Sign Up. You'll be prompted to log in with your Twitch account — this is intentional. Nightbot uses Twitch's OAuth system, so it authenticates directly through Twitch rather than creating a separate username/password combination. This is standard practice for third-party Twitch integrations.
When prompted, authorize Nightbot to access your Twitch account. The permissions it requests are what allow it to read chat, post messages, and manage moderator actions.
Step 2: Join Your Channel
Once you're logged into the Nightbot dashboard, look for the "Join Channel" button — it's usually prominently displayed on the dashboard home screen. Clicking this tells Nightbot to enter your Twitch chat as a bot user.
At this point, Nightbot (@Nightbot) will appear in your channel's chat. It won't do much yet — you still need to configure it.
Step 3: Mod Nightbot in Your Twitch Chat ⚙️
This step is easy to overlook but essential. Without moderator status, Nightbot can post messages but cannot delete messages, time out users, or enforce its own moderation rules.
In your Twitch chat, type:
/mod Nightbot This gives Nightbot the permissions it needs to actually moderate. If you skip this, auto-mod features won't function.
Setting Up Basic Features
Custom Commands
In the Nightbot dashboard, navigate to Commands → Custom. Click Add Command and fill in:
- Command name — the trigger word preceded by !, such as !socials
- Response — the message Nightbot will post when triggered
- Userlevel — who can trigger the command (everyone, subscribers, moderators, etc.)
- Cooldown — how many seconds must pass before the command can be triggered again
Commands can include variables. For example, $(user) inserts the triggering viewer's username, and $(touser) references a second user mentioned in the command. These make interactions feel more dynamic without any extra work on your end.
Spam Filters and Auto-Moderation
Under Spam Protection, you'll find toggleable filters for:
- Excessive caps — flags messages that are mostly uppercase
- Links — blocks URLs unless the user has a specified permission level
- Long messages — catches wall-of-text spam
- Blacklisted words/phrases — custom word lists you define
- Emote spam — limits excessive emote use
Each filter has adjustable thresholds and specifies what action Nightbot takes — a warning, a timeout, or an outright ban. The right settings here depend heavily on your chat's size and culture. A small, tight-knit community might want minimal filtering, while a larger channel with frequent raids needs stricter defaults.
Timers
Timers post messages automatically at defined intervals — useful for reminding viewers to follow, sharing your schedule, or promoting a Discord. Under Timers, you set the message content, the interval in minutes, and a minimum chat lines requirement (so Nightbot isn't spamming a quiet chat).
The minimum chat lines setting is worth paying attention to. If your chat is slow and you set a timer to require 10 messages before triggering, it may never fire during off-peak hours.
Variables That Affect How You Configure Nightbot
Not every streamer will configure Nightbot the same way, and the "right" setup isn't universal. Several factors determine what makes sense for your channel:
| Factor | How It Shapes Your Setup |
|---|---|
| Channel size | Larger channels need stricter spam filters and shorter command cooldowns |
| Content type | Gaming streams may want game-info commands; IRL streams might prioritize link filtering |
| Moderation team | Solo modding means leaning harder on auto-mod; active mods mean looser bot settings |
| Community culture | Established communities with regular viewers tolerate more than new channels |
| Song requests | High-traffic streams may want request limits or subscriber-only access |
What Nightbot Doesn't Do
It's worth being clear about limitations. Nightbot is a chat bot, not a full stream management tool. It doesn't control your streaming software (OBS, Streamlabs, etc.), manage alerts, handle subscriptions, or interface with stream overlays. For those features, you'd be looking at different tools entirely.
Nightbot also doesn't distinguish between different types of follows, subs, or bits without integrating other services. Its strength is chat — and within chat, it's capable and reliable. 🎮
The Part That Depends on You
How useful Nightbot actually becomes on your channel comes down to decisions only you can make: how strictly you want to moderate, which commands your specific community will actually use, whether you want song requests enabled (and under what conditions), and how much you want to automate versus handle manually.
Two streamers with identical setups can end up with completely different Nightbot configurations — and both can be right. The tool gives you the controls. What you do with them is shaped by your stream's personality, your audience's behavior, and what your moderation goals actually are.