$banID[]
Bans a user using their ID.
Syntax
$banID[Reason;(User ID)]
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.
Use $getBanReason[]
to get the ban reason.
User ID
(Type: Snowflake || Flag: Vacantable)
: The user to ban. If empty, the ID will be taken from the last part of the author’s message.
Example
$nomention
<@$mentioned[1]> was banned!
$banID[$noMentionMessage;$mentioned[1]]
How $mentioned[]
and $noMentionMessage
works?