Ban User

Ban a Kick user

Parameters

User Login
String required

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

Reason
String

ban reason

Variables

NameTypeDescription
Example Value:GenericUser

display name of the banned user

Example Value:12345678

ID of the banned user

Example Value:genericuser

login name of the banned user

Example Value:kick

platform of the banned user

Example Value:True/False

indicator whether the ban has been successful or not

 
Variables generated by all triggers and available within all action executions.

C# Usage

public bool KickBanUser(string userName, string reason, bool bot = false)
Read more in API > C# > Methods > Kick > Moderation > Kick Ban User