Skip to content
Alita Robot
Esc
navigateopen⌘Jpreview
On this page

Disabling Commands

Complete guide to Disabling module commands and features

❌ Disabling Commands

This module allows you to disable some commonly used commands, So, no one can use them. It’ll also allow you to autodelete them, stopping people from blue texting.

Admin commands: × /disable <commandname>: Stop users from using commandname in this group. × /enable <item name>: Allow users from using commandname in this group. × /disableable: List all disableable commands. × /disabledel <yes/no/on/off>: Delete disabled commands when used by non-admins. × /disabled: List the disabled commands in this chat.

Note: When disabling a command, the command only gets disabled for non-admins. All admins can still use those commands. Disabled commands are still accessible through the /connect feature. If you would be interested to see this disabled too, let me know in the support chat.

Key Features:

  • Disable specific bot commands for non-admin users
  • Admins can always bypass disabled commands
  • Optional automatic deletion of disabled command messages
  • Support for disabling multiple commands at once

Disable Multiple Commands: /disable adminlist rules info Disables /adminlist, /rules, and /info commands at once.

Toggle Command Deletion: /disabledel on - Disabled messages will now be deleted. /disabledel off - Disabled messages will no longer be deleted. /disabledel - Check the current deletion setting.

Module Aliases

These are help-menu module names, not command aliases.

This module can be accessed using the following aliases:

  • disable
  • enable

Available Commands

Command Description Disableable
/disable Disable a command in this chat
/disableable List all commands that can be disabled
/disabled List all currently disabled commands
/disabledel Toggle deletion of disabled command messages
/enable Re-enable a disabled command

Usage Examples

Basic Usage

/disable
/disableable
/disabled

For detailed command usage, refer to the commands table above.

Required Permissions

  • /disable, /enable, /disabledelAdmin only (RequireUserAdmin).
  • /disableable, /disabled — Available to all users (though /disabled can itself be disabled).

Technical Notes

Important Notes:

  • Admin Bypass: Disabled commands only affect non-admin users. All admins can still use any command.
  • Connection Support: Disabled commands are still accessible through the /connect feature for connected chats.
  • Multiple Commands: Both /disable and /enable support multiple command names in a single message.
  • Error Handling: If some commands fail to disable/enable, you’ll be notified about which ones succeeded and which failed.

Was this page helpful?