$ban[]

Bans the mentioned user with a reason.

Syntax

$ban[Reason]

Parameters

  • Reason (Type: String || Flag: Emptiable): The reason for the ban, which will be saved in the audit-log. Reason must not exceed more than 512 characters.

Tip

Use $getBanReason[] to get the ban reason.

Example

$nomention
$ban[$noMentionMessage]
<@$mentioned[1]> was banned!
!example Spen Too cute Spen was banned! Spen left without pizza.

What is this?