Skip to content

$kick

$kick will remove a user from a given guild.

Usage

$kick[guildID;userID;reason?]

Parameters

FieldTypeDescriptionRequired
guildIDnumberThe ID of the guild where the user shall be removed from.true
userIDnumberThe ID of the user which will be removed from the guild.true
reason?stringThe reason which will be displayed in the guild’s audit logs.false

Example(s)

This will kick someone from your guild:

1
client.command({
2
name: "kick",
3
code: `
4
<@$findMember[$message;false]> has been kicked!
5
$kick[$guildID;$findMember[$message;false];Example reason!]
6
`
7
});