Timeout User
Timeout a user.
Preview
Notes
When you time out a moderator it will re-mod the moderator when the timeout has passed.
Parameters
Type
Select who you want to timeout.
Redeemer
: Timeout the user who redeemed something e.g. a command or a channel pointRandom
: Use a random user from your chatSpecific User
: Select a user from the known user listFrom Input
: Use a value from an input like a command or a channel point reward
Specific User
When you have selected the Type
to Specific User
you will be able to select a user from this list.
- Type:
Select
Duration
The duration the timeout should last.
- Type:
Integer
Reason
Enter the reason for the timeout.
- Type:
String
Exclude Moderators
Select this is you want to exclude moderators from the timeout.
- Type:
Checkbox
Variables
The following variables will be populated after executing this sub-action:
Name | Description |
---|---|
createdAt | The timestamp the timeout was created. |
createdById | User id from the timeout creator. |
createdByUsername | User's login name from the timeout creator. |
createdByDisplayName | Display name from the timeout creator. |
duration | The duration of the timeout. |
reason | The reason of the timeout |
C# Usage
public bool TwitchTimeoutUser(string username, int duration, string reason, bool bot = false)