Skip to content
Moderation kickMention

$kickMention

$kickMention targets the first user mention in the triggering message. It accepts an optional reason.

Syntax

bdfd
$kickMention[(reason)]

Syntax

$kickMention
$kickMention[reason]

Examples

Prefix command example

Configure a prefix command named kick. Invoke it as !kick @member.

$nomention
$onlyPerms[kickmembers;You need Kick Members permission.]
$onlyBotPerms[kickmembers;The bot needs Kick Members permission.]
$onlyIf[$mentioned[1]!=;Usage: !kick @member]
$onlyIf[$mentioned[1]!=$authorID;You cannot kick yourself.]
$onlyIf[$mentioned[1]!=$serverOwner;The server owner cannot be kicked.]
$kickMention[Rules violation]
Member kicked successfully.

A missing mention fails target validation. The bot must have a highest role above the target’s highest role. To supply a user ID explicitly, use $kick[userID;reason].