How to Use the Nightbot Commands, Timers, and Spam Filters Prompt for a Twitch Channel
Build a Nightbot setup for a Twitch channel from a short streamer brief: chat command lines ready to paste with Nightbot variables, user levels, and cooldowns, timers that do not flood chat, and spam protection filters with exemptions for mods and regulars.

Nightbot is one of the simplest ways to give a Twitch chat helpful commands, gentle reminders, and basic spam protection. Most channels set it up once in a hurry, then live with commands nobody uses, timers that talk over quiet chats, and link filters that time out the streamer's own regulars. The Nightbot Custom Commands, Timers, and Spam Filters for a Twitch Channel: Variables, User Levels, and Cooldowns prompt builds a complete setup from a short brief about your channel.
Why a planned setup beats adding commands as you go
Commands added mid-stream tend to be inconsistent. Some have cooldowns and some do not, a few are open to everyone that should be mod only, and the wording drifts away from the streamer's voice. A planned setup gives every command a clear purpose, the right user level, and a sensible cooldown. Timers are spaced so they never fire together, and filters are tuned for the size and mood of the chat.
What the prompt produces
- Paste-ready command lines in the
!commands addformat, with user level and cooldown flags set for each one. - Moderator commands for counters and shoutouts, with the edit line to reset a counter.
- Timers with a message, an interval, and a chat lines threshold so they stay quiet when chat is slow.
- Spam protection settings for links, blacklisted phrases, caps, symbols, emotes, and repetitions, each with an exempt level and timeout.
- Regulars lines for trusted viewers, and what being a regular exempts them from.
- A short mod handoff note for anyone new to the team.
How to fill the inputs
ChannelInfo describes the game, the vibe, and how fast chat moves. A cozy chat of a few dozen people needs very different filters from a busy competitive channel. Links lists only the URLs you want shared; the prompt never invents one. Schedule includes days, time, and time zone.
ModTeam names your mods and anyone who should become a regular. RulesBrief lists what you want blocked, such as outside links, spoilers, or all caps yelling. Counters covers running jokes worth tracking, like deaths in a run or forgotten tasks in a farming game.
Understanding the variables
The prompt uses a small set of Nightbot variables that cover most needs:
$(user)is the person who typed the command, useful for lurk and hug style messages.$(touser)is the name given after the command, and falls back to the person typing if none is given.$(count)increases each time the command runs, which makes simple counters easy.$(channel)combined with the twitch variable can show live uptime.
User levels control who can run each command. Information commands are open to everyone. Counters and shoutouts are moderator only, so chat cannot spam them. Cooldowns of a few seconds or more stop the same command flooding chat.
Walking through the example
The sample is a cozy farming sim stream with two mods and two viewers who should be regulars. The output reflects that mood:
- Every response sounds like the streamer, with farm themed wording instead of generic bot text.
- The watering counter is moderator only and can be reset at the start of a new season.
- Timers require some chat activity before firing, and the intervals are chosen so they rarely overlap.
- Links are allowed only for the Discord and YouTube, with
!permitfor approved one-off links. - Spoiler phrases use wildcards and one regular expression, and the spoiler filter applies even to regulars.
- Emote protection stays off, because emote spam is part of this chat's fun.
Mistakes to avoid
- No cooldowns. Even friendly commands become noise when ten people use them at once.
- Timers on a fixed clock with no chat threshold. In a slow chat they end up talking to themselves.
- Exempting regulars from everything. Keep the filters that protect the stream, like spoilers, on for all.
- Invented links. Only share URLs you have checked.
- Skipping the mod note. New mods do better when they know the house style before their first stream.
Who it is for
This prompt fits Twitch streamers setting up a new channel, mods tidying an existing setup, and community managers running several channels. Some dashboard options may change over time, so the prompt flags anything worth confirming in the current Nightbot dashboard.
Related PromptDig links
- Prompt: Nightbot Custom Commands, Timers, and Spam Filters for a Twitch Channel: Variables, User Levels, and Cooldowns
- More social media prompts: Browse more prompts
- Have a community moderation prompt that works? Share a prompt