User Banned

Trigger for when a Twitch User is Banned
PubSub

Variables

The following variables will be populated when this trigger executes:

Description
createdAtDateTime

The timestamp when the ban was created

Example: 8/4/2023 10:56:06 AM
createdByDisplayNamestring

The Twitch display name from who created the ban

Example: TwitchUser123
createdByIdstring

The Twitch user id from who created the ban

createdByUsernamestring

The Twitch user name from who created the ban

Example: twitchuser123
reasonstring

The reason for the ban

Example: My ban reason
userstring

Display name of user who was banned
This will only be populated if the user has been present in chat

Example: TwitchUser123
userIdstring

Twitch id of user who was banned

Example: 12345
userNamestring

Login name of user who was banned

Example: twitchuser123