---
title: "Commands"
type: "section"
id: "commands"
url: "https://lols.bot/docs/en/commands/"
md_url: "https://lols.bot/docs/commands.en.md"
lang: "en"
alternate: "https://lols.bot/docs/commands.md"
updated: "2026-12-01"
---

# ⌨️ Commands

## How to call

Send the command as a **reply to the message** of the person it applies to, or name the person right after the command — by @username, user_id or link (see [Who the command applies to](https://lols.bot/docs/commands.en.md)).

While the **Simple commands** option in the Service section is off, the bot only reacts to commands prefixed with `/`, `!` or `@`. With the option on, the same commands work without a prefix.

Most commands have Russian aliases, so either spelling works.

## Who the command applies to

The person can be specified in several ways — pick whichever is handy:

- **Reply** to their message: `/ban`
- **@username**: `/ban @username`
- **user_id** — the numeric id, it never changes even if the username does: `/ban 123456789`. A prefix is fine too: `/ban id123456789`, `/ban #123456789`
- **Link** to the profile: `/ban https://t.me/username`
- **Mention by name**, if the person has no username: type the command, then `@` and pick them from the list of chat members — Telegram inserts their name as a link
- **Channel** that posts in the chat on its behalf — reply to its message or give the channel id: `/ban -1001234567890`

The order is always the same: **command → who → duration → reason**. Duration and reason are optional.

If the bot cannot find the person by username (for example, they changed it), use their user_id or reply to their message.

## Duration and reason

For `/mute`, `/ban` and their variants the duration goes after the command. With no duration the restriction is **permanent**.

The format is free-form: `/mute 1 day`, `/mute 2 weeks`, `/mute 3w`.

Short units: `s` seconds, `m` minutes, `h` hours, `d` days, `w` weeks, `mo` months, `y` years. Russian ones work too: `30м`, `2ч`, `3д`, `1н`, `1ме`, as well as words: `2 часа`, `3 дня`, `1 месяц`.

Telegram accepts a term from **30 seconds to 366 days**. Anything outside this range is not applied — the bot replies with an error, so a typo never turns into a permanent ban.

A reason can follow the duration — the user sees it together with the penalty term. Without a duration the whole text after the command is the reason, and the penalty is permanent.

## Examples

**🔇 Mute**

- `/mute` — reply, permanent
- `/mute 30m` — reply, for 30 minutes
- `/mute 2 hours flood` — for 2 hours with a reason
- `/mute @username 1d spam in DMs` — by username, for a day
- `/mute 123456789 3 days` — by user_id, for 3 days
- `/dmute 1h` — reply: delete the message and mute for an hour
- `/smute @username 12h` — the same, but silently

**⛔ Ban**

- `/ban` — reply, permanent
- `/ban 7d advertising` — reply, for a week with a reason
- `/ban @username 2 weeks` — by username, for 2 weeks
- `/ban 123456789 1mo scam` — by user_id, for a month
- `/ban id123456789 insults` — by user_id, permanent, with a reason
- `/ban https://t.me/username 12h` — by link, for 12 hours
- `/daban 1d` — reply: wipe everything they wrote in the last 48 hours and ban for a day
- `/sban @username` — silent permanent ban

**⚠️ Warnings and kick**

- `/warn @username insults` — a warning with a reason
- `/warn 123456789` — a warning by user_id
- `/unwarn @username` — remove a warning
- `/kick @username` — remove from the chat, they can come back

**✅ Lifting**

- `/unban @username`, `/unban 123456789` — lift a ban
- `/unmute @username` — lift a mute
- `/wl @username` — add to the whitelist

**🌐 In all your chats**

- `/gban @username spam` — ban in every chat of yours where the person is a member
- `/gban 123456789 30d` — the same for 30 days
- `/fgban 123456789` — ban in all your chats with the bot, even where they have not joined

**💬 In a private chat with the bot**

Give the chat id first: `/ban -1001234567890 @username 3d flood`, `/unban -1001234567890 123456789`.

## /warn /warns

`/warn` issues a warning. Once the count exceeds the limit set in the options, the user is blocked automatically.

`/warns`, `/warnings` show the list of warnings and let you reset them.

## /mute

`/mute` stops the user from posting. Duration goes after a space; without it the mute is permanent.

`/dmute` also deletes the message.

`/damute` deletes not just that one message but **everything the user has written in this chat** over the last 48 hours — Telegram does not allow deleting older ones. The duration in the command still applies to the mute, not to the depth of the wipe. Needs the **delete messages** right on top of the mute right.

`/smute` is the same as `/dmute`, but the bot posts nothing to the group.

## /ban

`/ban` blocks the user in this group. Duration works the same way as for `/mute`.

`/dban` also deletes the message.

`/daban` deletes not just that one message but **everything the user has written in this chat** over the last 48 hours (Telegram does not allow deleting older ones) and then bans them. The duration still applies to the ban. Needs the **delete messages** right on top of the ban right.

`/sban` is the same as `/dban`, but silent.

The letters can be combined in any order: `/sdban`, `/saban`.

## /gban

`/gban` blocks the user in every group where they are a member, you are an admin and the bot is installed.

`/fgban` blocks them in **all** of your admin groups with the bot, even those they have not joined.

## /unban

`/unban`, `/unmute` lift a ban or a mute in this group.

Send the command **in the group itself**, for example: `/unban @username` — or as a reply to the person's message.

## /kick

`/kick` removes the user without blocking, so they can come back.

`/dkick` also deletes the message.

`/skick` is the same as `/dkick`, but silent.

## /wl — whitelist

`/wl`, `/whitelist` adds the user to the chat whitelist.

Three ways to call it: `/wl 123456`, `/wl @username`, or as a reply to a message.

If the bot had blocked the person, unblocking them through Telegram **group management** (not via `/unban` and not via another bot) also whitelists them.

## /block, /unblock — stickers

`/block` in reply to a sticker bans it in the chat. The bot asks what exactly to ban: **Sticker** — only this sticker, **Pack** — all stickers from its set, **Author** — all sets made by the same author.

Such stickers are deleted and the sender gets a short warning, without a ban. Admins are not affected.

`/unblock` in reply to a sticker removes the matching entry from the blacklist. The list itself is in the settings: Antispam → Sticker blacklist.

Only chat admins can use the commands, and only when the **Moderator bot** option is on.

## /wipe

`/wipe` deletes every message the user posted in the group over the last **48 hours**.

## /delat

`/delat`, `/delin` schedule a message for deletion. Give the message link after the command, then the delay in any supported format.

Simpler: **reply to the message** with `/delat 1h` — no link needed, and the confirmation is shown only to you.

`/sdelat` is the silent variant: same thing, but nothing is posted to the chat and the command itself is removed.

## /report

`/report`, `/spam`, `/scam` — the only command available to **ordinary members**, not just admins.

From an admin the user is blocked in the chat straight away. From an ordinary member the message goes for review: depending on the content it may be deleted at once or passed to a moderator.

Abusing the command can get the reporter blocked or the command disabled in that chat.

## /info, /top and /ntop

`/info`, `/who` — shows how long ago the member joined and how many messages they posted.

`/top`, `/top10`, `/top20` show message statistics for the group.

`/ntop`, `/ntop20` … `/ntop50` — members who have been silent the longest: only those who are still in the group and have written at least one message; for each, the date of the last message and the total number of messages. The list is updated at most once an hour. The same list is in the web admin panel: chat settings → «Statistics» → «Silent the longest».

## /rating and /myrep

`/rating` — the chat's reputation leaderboard: who got the most thanks and reactions.

`/myrep` — your own reputation and place in the rating. The answer is visible only to you, and the command itself is deleted so it does not clutter the chat. Works in groups; if reputation is turned off in the chat, the bot says so.

Both commands need the [Reputation](https://lols.bot/docs/reputation.en.md) option.

## /summary and /roast

`/summary` gives a short overview of what the chat discussed over the last 24 hours.

`/roast` is an AI roast of a message, sent by an admin as a reply to a member post.

## /gpt

`/gpt` asks the neural network a question right in the chat.

It works only when **Tools → /gpt command** is enabled.

## /config

`/config` opens the bot settings for this chat.

## /stats

`/stats` in a group (admins only) shows how many users the bot checked in this chat over the last 24 hours and 7 days, and how many of them it punished: bans, mutes, kicks and deleted messages. Below are the same numbers across all chats with the bot.

Checked means the person wrote to the chat or joined it; each person is counted once. The command is deleted, and the reply disappears after two minutes.
