$kick

Kicks a user from the server.

Usage

$kick[userID;reason]
  1. userID - The ID of the user to kick.
  2. reason - (Optional) The reason for kick. You can see this in Audit Log.

Example

Successful kick

Successfull kick with no response

User04/23/2025
!!exec $kick[123456789123456789;Spamming]

Unsucessful kick

Unsuccessful kick with error message

User04/23/2025
!!exec $kick[$ownerID;Spamming]
Custom Command Bot 04/23/2025
❌ bot is missing enough permissions at line 1

Bot is missing enough permissions

The most common reason is that the bot's role is lower in the role hierarchy than the member you are trying to ban. Discord doesn't allow members and bots from kicking members with a higher or equal highest role. Ensure the bot's highest role is above the target user.

Important Note

If any member who can execute the command with this function, they will be able to kick any member below the bot's highest role. Do not place the bot's role above Admin or Head Moderator roles to avoid kicking important member.

Function difficulty: Easy
Tags: kick punish member moderation moderator