Bans Commands
🔨 Bans Commands
Section titled “🔨 Bans Commands”Sometimes users can be annoying and you might want to remove them from your chat, this module exactly helps you to deal with that!. Ban/kick users from your chat, and unban them later on if they’re behaving themselves.
User Commands: × /kickme: kicks the user who issued the command.
Ban Commands (Admin only):
× /ban x time. (via handle, or reply). m = minutes, h = hours, d = days.
× /unban
Restrict Commands: (Admin only) × /restrict: Shows an InlineKeyboard to choose options from kick, ban and mute × /unrestrict: Shows an InlineKeyboard to choose options from unmute and unban.
Module Aliases
Section titled “Module Aliases”This module can be accessed using the following aliases:
bankickdkickrestrictkickmeunrestrictsbandbantbanunban
Available Commands
Section titled “Available Commands”| Command | Description | Disableable |
|---|---|---|
/ban | bans a user. (via handle, or reply) | ❌ |
/dban | bans a user and delete the replied message. (via handle, or reply) | ❌ |
/dkick | No description available | ❌ |
/kick | kicks the user who issued the command. | ❌ |
/kickme | kicks the user who issued the command. | ❌ |
/restrict | Shows an InlineKeyboard to choose options from kick, ban and mute | ❌ |
/sban | bans a user silently, does not send message to group and also deletes your command. (via handle, or reply) | ❌ |
/tban | bans a user for x time. (via handle, or reply). m = minutes, h = hours, d = days. | ❌ |
/unban | unbans a user. (via handle, or reply) | ❌ |
/unrestrict | Shows an InlineKeyboard to choose options from unmute and unban. | ❌ |
Usage Examples
Section titled “Usage Examples”Basic Usage
Section titled “Basic Usage”/ban/dban/dkickFor detailed command usage, refer to the commands table above.
Required Permissions
Section titled “Required Permissions”Most commands in this module require admin permissions in the group.
Bot Permissions Required:
- Delete messages
- Ban users
- Restrict users
- Pin messages (if applicable)