Stream Kit Docs
API ReferenceYouTube

User Banned

YouTube trigger: youtube:youtube:moderation:user-banned

User Banned

Trigger IDyoutube:youtube:moderation:user-banned
PluginYouTube
CategoryModeration

Variables

Copy variables into handler fields using {variableName} syntax.

{user}{userId}{banType}{duration}{moderator}{raw}{channelId}{channel}{liveChatId}{broadcastId}
NameTypeDescription
{user}
string

Display name of the user who triggered the event.

Example: TestUser

{userId}
string

Platform user ID of the chatter or actor.

Example: test-author-id

{banType}
'permanent' | 'temporary'

Ban type (`permanent` or `temporary`).

Example: temporary

{duration}
number

Timeout or ban duration in seconds, when applicable.

Example: 600

{moderator}
string

Moderator who performed the action.

Example: Moderator

{raw}
object

Raw platform chat message object (JSON).

{channelId}
string

YouTube channel ID for the connected account.

{channel}
string

Channel login or display name where the event occurred.

{liveChatId}
string

YouTube live chat ID for the active broadcast.

{broadcastId}
string

YouTube broadcast (stream) ID.

Conditions

ConditionDescription
UsernameMatch chatter username (equals, contains, starts with, ends with). Leave empty to always match.

On this page