Warn User
Warn a Twitch user
Preview
Parameters
User Loginrequired
String
can be a user name or a variable like %userName%
Reason
String
warn reason
Variables
The following variables will be populated after executing this sub-action:
Description | ||
---|---|---|
warnedResult | bool | indicator whether the warning has been successful or not Example: True/False |
warnedUser | string | display name of the warned user Example: PewDiePie |
warnedUserId | string | ID of the warned user Example: 12345678 |
warnedUserName | string | login name of the warned user Example: pewdiepie |
warnedUserType | string | platform of the warned user Example: twitch |
C# Usage
Warns specified Twitch user for the given reason
0.2.4
public bool TwitchWarnUser(string userName, string reason)