$kick

Kicks a user from the server

Usage:

$kick[userID;reason(optional)]

If member can be kicked by the bot:

Discord Moderator08/02/2024
!!exec $kick[$findMember[Unknown User];Spamming]

If member can be NOT be kick by the bot Read Below why:

Discord Moderator08/02/2024
!!exec $kick[$ownerID;I'm a bad moderator;10]
Custom Command Bot 08/02/2024
❌ Failed to kick undefined!

Why can't the bot kick a member?

It could be, that your bot role, is below the member role!

Discord prevents users (members/bots) from kicking members above their highest role

Be careful with adding this to a command!

EVERY member that can execute the command this function is added in will be able to kick everyone below the bot role!

We highly suggest, not putting the bot role above "Admin" and "head moderator"

Related Functions

$ban, to ban a member, harsh punishment

$unban, to unban a member, let's be nice

Function difficulty: Medium
Tags: kick punish member moderation moderator