
The Twitch IRC server replies with a NOTICE message indicating whether the command succeeded or failed. NOTE The whisper chat command is available to legacy chatbots only. Sends a private message to another user on Twitch. Lists the users with VIP status in the channel. Restricts a user’s chat messages to unique messages only a user cannot send duplicate chat messages until someone removes the restriction using /uniquechatoff. Places the user in a timeout the user cannot chat until the timeout expires or someone removes it using /untimeout. Use /subscribersoff to remove the restriction. Restricts who can post chat messages to subscribers only. This sets the minimum time, in seconds, that a user must wait before being allowed to post another message. Restricts how often users can post messages. A raid sends your viewers to the specified channel. Lists the users that are moderators on the channel. Removes the colon that typically appears after your chat name and italicizes the chat message’s text. Marks a section of the broadcast to highlight later. To stop hosting the other channel, use /unhost. If you don’t specify a command, it returns all commands that the user can use. Returns a usage statement for the specified command. Use /followersoff to remove the restriction. Restricts who can post chat messages to followers only. Use /emoteonlyoff to remove the restriction. Restricts users to posting chat messages that contain only emoticons. The PRIVMSG message’s id tag contains the ID.Ī bot may not delete the broadcaster’s messages.Ĭloses the session that the command was received from. To get the ID, specify the tags capability. commercial ĭeletes the specified message from the chat room.

Use /unban to remove the ban.Ĭhanges the color used for the bot’s username. Chat commandīans a user from the channel. For more information about these commands, see Chat Commands. If the command isn’t listed here, it’s not supported. The following table lists the Twitch chat commands your bot can send and the required scopes. To use some of the commands, such as /ban and /emoteonly, your bot must have moderator privileges.

Your bot may send the following chat commands by using a PRIVMSG message. Refer to the migration guide section below for equivalent Twitch API endpoints. See the forum announcement for more details and discussion. Chat commands through IRC have been deprecated and will no longer function on or about February 18, 2023.
