Locks Commands
🔒 Locks Commands
Section titled “🔒 Locks Commands”Admin only:
× /lock <permission>: Lock Chat permission..
× /unlock <permission>: Unlock Chat permission.
× /locks: View Chat permission.
× /locktypes: Check available lock types!
Locks can be used to restrict a group’s users. Locking URLs will auto-delete all messages with URLs, locking stickers will delete all stickers, etc. Locking bots will stop non-admins from adding bots to the chat.
Example:
/lock media: this locks all the media messages in the chat.
Module Aliases
Section titled “Module Aliases”This module can be accessed using the following aliases:
lockunlock
Available Commands
Section titled “Available Commands”| Command | Description | Disableable |
|---|---|---|
/lock | Lock Chat permission.. | ❌ |
/locks | View Chat permission. | ✅ |
/locktypes | Check available lock types! | ✅ |
/unlock | Unlock Chat permission. | ❌ |
Usage Examples
Section titled “Usage Examples”Basic Usage
Section titled “Basic Usage”/lock/locks/locktypesFor 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)