Kicks a user from the server



If member can be kicked by the bot:

Discord Moderator01/27/2023
!!exec $kick[$findMember[Unknown User];Spamming]

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

Discord Moderator01/27/2023
!!exec $kick[$ownerID;I'm a bad moderator;10]
Custom Command Bot 01/27/2023
❌ 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