API ReferenceYouTube
User Banned
YouTube trigger: youtube:youtube:moderation:user-banned
User Banned
| Trigger ID | youtube:youtube:moderation:user-banned |
| Plugin | YouTube |
| Category | Moderation |
Variables
Copy variables into handler fields using {variableName} syntax.
{user}{userId}{banType}{duration}{moderator}{raw}{channelId}{channel}{liveChatId}{broadcastId}| Name | Type | Description |
|---|---|---|
{user} | string | Display name of the user who triggered the event. Example: |
{userId} | string | Platform user ID of the chatter or actor. Example: |
{banType} | 'permanent' | 'temporary' | Ban type (`permanent` or `temporary`). Example: |
{duration} | number | Timeout or ban duration in seconds, when applicable. Example: |
{moderator} | string | Moderator who performed the action. Example: |
{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
| Condition | Description |
|---|---|
| Username | Match chatter username (equals, contains, starts with, ends with). Leave empty to always match. |