Moderation


Ban & Unban

/ban (Admin)

/ban @username | /ban UserID | Reply with /ban

Ban a user from the group. Can be used by replying to a message, mentioning a user, or providing a UserID.


/unban (Admin)

/unban @username | /unban UserID

Unban a previously banned user, allowing them to rejoin the group.


Mute & Unmute

/mute (Admin)

/mute @username [duration] | Reply with /mute

Mute a user, preventing them from sending messages. Optional duration (e.g., 1h, 1d, 1w). Without duration, mute is permanent until unmuted.


/unmute (Admin)

/unmute @username | /unmute UserID

Unmute a user, restoring their ability to send messages. Resets their deleted message counter and removes pending verifications.


Message Management

/delete (Admin)

Reply to a message with /delete

Delete the replied-to message.


/report (All Users)

Reply with /report | /report @username [reason]

Report a user or message to group admins. Creates a report record and notifies admins with ban/mute buttons.


/lock (Admin)

/lock

Lock the chat, preventing all non-admin members from sending messages. Shows confirmation buttons.


/unlock (Admin)

/unlock

Unlock the chat, allowing all members to send messages again. Shows confirmation buttons.


User Management

/whitelist (Admin)

/whitelist @username | /whitelist UserID

Manually whitelist a user, exempting them from anti-spam checks and automatic moderation. Resets their deleted message counter. Note: Users are also automatically whitelisted after 10 safe messages (see Automatic Whitelistingarrow-up-right).


/exclude (All Users)

/exclude | /exclude @username (admin only)

Exclude yourself (or a specified user if admin) from the /all mention feature.


/removedeletedaccounts (Admin)

/removedeletedaccounts

Scan and remove all deleted Telegram accounts from the group.


/info (All Users)

/info @username | /info UserID | Reply with /info

Get detailed information about a user including: permban status, report count, mute count, ban count, whitelist status, verification status, and recent deleted messages.


/getreports (All Users)

/getreports @username | /getreports UserID

View all reports filed against a specific user, including both message content and reasons.


Inactive User Management

/inactive (Admin)

/inactive [days] | /inactivecount [days]

Get count of users who haven't sent a message in X days (default: 7 days).


/inactivelist (Admin)

/inactivelist [days]

List inactive users with their UserID, days since last message, and total message count. Shows first 50 users.


/kickinactive (Admin)

/kickinactive [days]

Warn inactive users by mentioning them. Users who don't respond within 1 hour will be automatically removed. Skips admins and whitelisted users.


Last updated