---
title: "Antispam"
type: "section"
id: "antispam"
url: "https://lols.bot/docs/en/antispam/"
md_url: "https://lols.bot/docs/antispam.en.md"
lang: "en"
alternate: "https://lols.bot/docs/antispam.md"
updated: "2026-12-03"
---

# ⚔️🛡 Antispam

## Lols ban

key `lols-ban`

When a user joins the group or sends a reaction or message, they are checked against a database of previously blocked users. If marked for a global ban, restrictions are applied regardless of the message.

More: https://lols.bot/docs/lols-ban.en.md

## Self-promotion (groups only)

**Default:** on · key `self-promo`

Prevents users from posting referral links to bots. On violation the link is deleted and the user is restricted from sending messages for 10 minutes.

More: https://lols.bot/docs/self-promo.en.md

## Antiflood (groups only)

**Default:** on · key `anti-flood-enabled`

If a user sends five identical messages (or stickers, photos, videos) within one minute, the bot deletes them and mutes the user for 10 minutes.

More: https://lols.bot/docs/anti-flood-enabled.en.md

## Emoji spam (groups only)

**Default:** on · key `anti-custom-emoji`

When enabled, the bot deletes messages containing 10 or more custom emojis (available only to Telegram Premium users).

More: https://lols.bot/docs/anti-custom-emoji.en.md

## AI rechecker (groups only)

**Default:** on · key `ai-rechecker`

When enabled, the bot uses ChatGPT to recheck messages. In some chats this may cause false positives — then the option should be disabled.

More: https://lols.bot/docs/ai-rechecker.en.md

## Restrict noobies (groups only)

**Default:** off · key `restrict-noobies`

If your group mainly uses text, enable this so the bot deletes all messages with attachments (photos, audio, stickers) during the first 24 hours after a user joins.

More: https://lols.bot/docs/restrict-noobies.en.md

## Del first one (groups only)

**Default:** off · key `del-firstone`

If the bot is installed in a discussion group linked to a channel, enabling this makes it delete messages from users who comment within the first 30 seconds after a post is published.

More: https://lols.bot/docs/del-firstone.en.md

## Reaction spam (groups only)

**Default:** off · key `anti-reaction`

If spammers frequently use reactions to attract attention to their accounts, enable this and the bot will detect and block such users.

More: https://lols.bot/docs/anti-reaction.en.md

## Sticker filter (groups only)

**Default:** on · key `sticker-filter`

Some sticker packs contain specially crafted stickers that consume all device memory when viewed. The bot detects and automatically removes such stickers.

More: https://lols.bot/docs/sticker-filter.en.md

## Image OCR (groups only)

**Default:** on · key `image-ocr`

With the AI option enabled, only message text is normally analyzed. If this option is enabled, text from attached images is recognized via OCR and added to the message text.

More: https://lols.bot/docs/image-ocr.en.md

## Image filter (groups only)

**Default:** on · key `image-filter`

The bot builds its own database of known spam images. If this option is enabled and the bot detects a similar image, it will block it.

More: https://lols.bot/docs/image-filter.en.md

## 🚫 Sticker blacklist (separate screen, groups only)

Ban specific stickers in the chat. An admin replies to a sticker with `/block` and chooses what to ban: this sticker, the whole pack or all packs of its author. Such stickers are deleted, and the sender gets a short warning and a 1-minute mute (no ban, admins are not affected). `/unblock` in reply to a sticker removes the matching entry. The settings screen shows how many stickers, packs and authors are listed and lets you clear the list.

More: https://lols.bot/docs/sticker-blacklist.en.md
