Timeout User

Timeout a user.

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 point
  • Random: Use a random user from your chat
  • Specific User: Select a user from the known user list
  • From 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:

NameDescription
createdAtThe timestamp the timeout was created.
createdByIdUser id from the timeout creator.
createdByUsernameUser's login name from the timeout creator.
createdByDisplayNameDisplay name from the timeout creator.
durationThe duration of the timeout.
reasonThe reason of the timeout

C# Usage

public bool TwitchTimeoutUser(string username, int duration, string reason, bool bot = false)