Skip to main content

Ban User

Runs on: Backend — calls the Twitch Helix API to ban the user.

The Ban User effect permanently bans a viewer from your channel's chat. Connect either a User object or a plain username string to the input. When you supply a User directly, the ban goes through using their Twitch ID. When you supply a string, the backend resolves it to the correct account via a Twitch lookup before issuing the ban.

Use this node at the end of a moderation flow — for instance, one triggered by repeated banned phrases or a moderator command — to automate enforcement without leaving the flow editor.

Inputs

NameTypeDescription
useruser or stringThe viewer to ban. Pass a User object for a direct ban by Twitch ID, or a username string which will be resolved via Twitch before banning.

Example

A chat-command flow listens for !ban <username>. It extracts the username argument, passes it as a string to Ban User, and the backend resolves the account and calls the Twitch API. The moderator never needs to leave chat or open the Twitch dashboard.