Contents

Twitch IRC Membership Commands

Reviews for Extensions have resumed in May 2024 and the backlog will be completed in the coming weeks. Reviews for organizations, games, and chatbot verification continue to be temporarily paused while we revise our processes. Thank you for your patience and understanding.

The Twitch IRC server sends your bot the following messages only if your bot requests the membership capability. For information about requesting the membership capability, see Requesting Twitch-specific capabilities.

Message Description
JOIN A user joined the chat room.
PART A user left the chat room.

NOTE Your bot receives a JOIN message for itself even if you don’t request membership capabilities.

NOTE Your bot won’t receive the JOIN and PART messages if the chat room contains more that 1,000 users.

JOIN

This is the standard JOIN message that you receive when a user joins the chat room.

Prototype

:<user>!<user>@<user>.tmi.twitch.tv JOIN #<channel>

Parameter Description
channel The name of the channel (char room) that the user joined.
user The login name of the user that joined the chat room.

Example

The following example shows that ronni joined the dallas chat room.

:ronni!ronni@ronni.tmi.twitch.tv JOIN #dallas

PART

This is the standard PART message that you receive when a user leaves a chat room.

Prototype

:<user>!<user>@<user>.tmi.twitch.tv PART #<channel>

Parameter Description
channel The name of the channel (chat room) that the user left.
user The login name of the user that left the chat room.

Example

The following example shows that ronni left the dallas chat room.

:ronni!ronni@ronni.tmi.twitch.tv PART #dallas