$kick
Kicks a user.
Usages
There are two usages of the $kick
function.
Usage #1
$kick
Kicks the user who ran the command.
Usage #2
$kick[userID;(optional) reason]
Kicks the provided user.
Breakdown
userID
- The user to kick from the server.reason
- The audit-log reason for the kick. Optional.
Example
$nomention
$onlyPerms[kick;❌ You need the `kick` permission to use that!]
$argsCheck[>1;❌ Please provide a user to kick. Usage: `!kick (user) <reason>`.]
$kick[$mentioned[1];$noMentionMessage]
✅ Kicked `$username[$mentioned[1]]#$discriminator[$mentioned[1]]`!