πŸš€ Installation

Adding the bot #

Through the bot profile β€” the shortest way:

1. Open the @lolsbot profile.
2. Tap Add to Group or Channel.
3. Pick the group and tap Add.

Through the group settings β€” if the bot is already in the chat and only needs rights:

Manage group β†’ Administrators β†’ Add administrator β†’ @lolsbot β†’ Save.

The minimum set of rights: delete messages and ban users. The rest are optional, depending on the options you use. In a channel only the ban right is needed β€” deletion is not required there. Which right each option needs β€” see Which rights to give the bot.

Beware of impostors: the real bot is exactly @lolsbot.

Which rights to give the bot #

The bot does not need every admin right β€” only the ones your enabled options use. When a right is missing, the bot usually says so itself while you enable the option and offers a button to grant it.

Minimum for any group

  • Delete messages β€” to remove spam.
  • Ban users β€” to ban and restrict: mutes, captcha, subscription check, removing spammers.

Without these two the bot can do almost nothing.

Extra rights for specific options

  • Invite users β€” if the group admits members by join requests. Without it Telegram does not send requests to the bot and does not let it approve or decline them. Needed for Accept all requests, checking requests with the join filter, the captcha and the channel subscription at the request stage, the pending requests tool and triggers with the β€œJoin request” condition.
  • Pin messages β€” for Unpin channel posts, pinning the daily digest and the trigger actions β€œPin / Unpin message”.
  • Manage topics β€” if the group has topics (forum): so the bot can post warnings, the captcha and other replies in closed topics.
  • Change group info β€” for Night mode and Disable inline: both change the permissions of all members of the chat at once.

Channel

  • In the channel itself Ban users is enough β€” it protects the audience from fake subscribers. Comments are moderated in the discussion group, and the bot needs the group rights there (details).
  • Manage direct messages β€” for antispam in the channel direct messages (the β€œAntispam in direct” option). Without it the bot does not see the channel direct messages at all.

Log chat. In the channel or group where the event log goes, the bot needs the right to post messages; if the log is sent to a closed topic β€” also Manage topics.

Not needed: adding admins, anonymity, managing video chats and stories.

Can't make the bot an administrator #

If Telegram refuses to add the bot or to give it administrator rights, there are three usual causes:

1. The group already has 20 bots. That is a Telegram limit per group, and it counts every bot, even those without admin rights. Open the member list, search for bot and remove at least one bot you no longer need β€” then try again.

2. Not enough rights for the admin adding the bot. To check: add the bot as an ordinary member first, then give it rights via Manage group β†’ Administrators β†’ Add administrator β†’ @lolsbot. If that step fails too, your account lacks the right to add administrators.

3. The admin has a spam restriction. Telegram does not let a restricted account manage administrators. Ask another admin who can add administrators to add the bot. It does not matter who adds it: afterwards every admin with the right to ban users can manage the settings. Who can manage the bot β†’

That is the whole setup #

If everything went right, the bot reports being added β€” and that is it. No stop words, no lists to fill in, no rules to write. Everything described in this documentation is optional.

Aggressive Anti-Spam of Telegram: better off #

Telegram has its own built-in filter β€” Aggressive Anti-Spam in Manage group β†’ Administrators. Once our bot is in place, we recommend turning it off.

By our observations it removes more ordinary messages than actual spam. The trouble is not the mistakes themselves but how hard they are to notice: it acts silently, and the record of what it did is kept in Recent actions for only 48 hours.

Miss that window and the consequences stay: the person goes on being unable to post in the group for a long time, while their profile shows no restriction at all β€” neither they nor the administrators can see why. There is nothing left to undo, because there is no longer any record of it.

Rights: who can manage the bot #

The bot settings and the moderator commands are available to any group administrator who has the right to ban users. Nothing has to be granted inside the bot separately β€” it looks at the rights in the group itself.

The group owner can always do it, whatever rights are set.

An administrator without the ban right will not open the settings and cannot use the commands β€” the bot refuses. The same rule applies in private messages: the chat list shows only the groups where you have that right.

So to give a colleague access to the bot, it is enough to grant them Β«Ban usersΒ» in the group.

What the bot cannot do #

These are Telegram limits, not our decisions:

  • it cannot read the member list or messages posted before it was added β€” a known spammer stays untouched until they write something new
  • it cannot delete messages older than 48 hours β€” when wiping the history of a spammer, anything older survives
  • it cannot see what other bots do; if another bot already deleted a message, ours stays quiet instead of reporting the spammer twice
  • even with the right to add administrators it cannot demote admins appointed by someone else, and it cannot transfer ownership

Admins and the whitelist #

Messages from chat administrators are ignored outright. For everyone else who should be exempt there is the whitelist: /wl in reply to a message adds its author, and the bot stops checking what they write. Handy for advertisers.

The /report command #

From an administrator the bot deletes the message and bans the author without any further checks.

From an ordinary user the message is examined: depending on the content it may be deleted at once, or sent to a moderator and acted upon afterwards. Abusing the command can get the sender blocked or the command disabled in that chat.

Removing the bot #

To remove the bot, take it out of the members of the group β€” not just out of the administrators. Stripped of its rights it stays in the group as an ordinary member: it can no longer delete or ban anything, but it is still there.

Manage group β†’ Members β†’ @lolsbot β†’ Remove from group.

The settings are kept. Nothing is wiped on removal, and the chat stays in your chat list inside the bot for a while afterwards (up to a month) β€” so the settings can still be opened and changed.

To bring the bot back it is enough to make it an administrator of the group again: the previous settings apply immediately, there is nothing to set up a second time.

Your own bot (clone) #

A clone is your own bot with the same features as @lolsbot: your name, your avatar, your username. The settings and commands are exactly the same ones described in this documentation.

A paid option. Available from the 10-chat subscription tier and above. Paid options β†’

How to create one:

  1. Open @BotFather and send /newbot.
  2. Pick a name β€” that is what members will see.
  3. Pick a username. It must end with bot.
  4. Send /mybots, pick the bot you have just created β†’ Bot settings.
  5. Group Privacy β†’ Turn Off. Without this the bot does not see messages in groups and cannot work at all.
  6. Domain β†’ Set domain β†’ https://lols.bot/
  7. Copy the token BotFather gave you and send it to @lolsbot in a private chat.

The token is full control over the bot. Never show it to anyone and never send it to other bots.

Replacing the bot in groups. There is no need to remove @lolsbot first: just add your clone, and the original leaves on its own.

Markdown Β· Русский Β· 2026-11-27