Timeout User

Timeout a Kick user

Parameters

User Loginrequired
String

Can be a user name or a variable like %userName%

Durationrequired
Int

Timeout duration in seconds. 0 is a permanent ban.

Variables

The following variables will be populated after executing this sub-action:

Description
timedOutUserstring

display name of the timed out user

Example: GenericUser
timedOutUserIdstring

ID of the timed out user

Example: 12345678
timedOutUserNamestring

login name of the timed out user

Example: genericuser
timedOutUserTypestring

platform of the timed out user

Example: kick
timeoutResultbool

indicator whether the timeout has been successful or not

Example: True/False

C# Usage

Times out the selected Kick user for the selected duration

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