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

# ❌️ Delete messages

## Join Notifications (groups only)

key `delete-service-messages`

The bot removes system messages about a user joining the chat. The same option also covers Telegram's newer community notices — a chat added to a community, removed from it, or a user joining through one. Boost notices are handled separately, by “Replace boosts”.

More: https://lols.bot/docs/delete-service-messages.en.md

## Exit Notifications (groups only)

key `delete-exit-messages`

Option to delete system messages about users leaving the chat.

More: https://lols.bot/docs/delete-exit-messages.en.md

## All commands

**Default:** on · key `delete-all-commands`

Sometimes a word starting with "/" turns into a clickable command other users can press, sending it to the chat. Enable this to auto-delete such messages. It does not affect other bots.

More: https://lols.bot/docs/delete-all-commands.en.md

## All links

**Default:** off · key `delete-all-links`

By default the bot deletes only malicious and spam links. To completely prohibit users from posting links, enable this option.

More: https://lols.bot/docs/delete-all-links.en.md

## All reposts

**Default:** off · key `delete-all-reposts`

The bot normally deletes forwarded messages only if they contain spam. Enable this to delete all forwarded messages regardless of content.

More: https://lols.bot/docs/delete-all-reposts.en.md

## All from channels

**Default:** off · key `delete-all-fromchannels`

Some users promote their channels by posting on behalf of a channel. Enable this and the bot deletes messages sent on behalf of a channel, except the channel linked to the chat.

More: https://lols.bot/docs/delete-all-fromchannels.en.md

## All @mentions

**Default:** off · key `delete-all-mentions`

All messages mentioning users (except admin mentions) will be deleted without any penalty for the sender.

More: https://lols.bot/docs/delete-all-mentions.en.md

## All stories

**Default:** off · key `delete-all-stories`

All forwarded stories shared by users in the chat will be deleted without any penalty for the sender.

More: https://lols.bot/docs/delete-all-stories.en.md

## Via inline bot

**Default:** off · key `delete-all-viabot`

Messages sent via inline bots will be deleted by the bot.

More: https://lols.bot/docs/delete-all-viabot.en.md

## Custom emoji

**Default:** off · key `delete-all-custemoji`

If a message uses custom (usually animated) emojis, it will be deleted. The message is additionally checked for spam, and the user may be restricted.

More: https://lols.bot/docs/delete-all-custemoji.en.md

## Swear words

**Default:** off · key `delete-swear-words`

The bot checks messages for profanity and deletes them when detected. The author gets a mute: one minute the first time, and every new swear word while the previous mute is still "fresh" doubles it (1 min → 2 → 4 → 8 …), up to one day at most. After a quiet pause the count starts over from one minute; if an admin lifts the mute, it starts over too.

More: https://lols.bot/docs/delete-swear-words.en.md

## Dice emoji

**Default:** off · key `delete-all-dice`

The bot will delete game emojis from the chat (dice, balls, slot machine, etc.).

More: https://lols.bot/docs/delete-all-dice.en.md

## Userbot commands

**Default:** off · key `delete-all-ubcmd`

The bot deletes messages from users using userbots (e.g. a command like .sticker followed by a quick edit of the message).

More: https://lols.bot/docs/delete-all-ubcmd.en.md

## All messages

**Default:** off · key `delete-all-msgs`

To temporarily close the chat to new user messages, enable this — only messages from admins and whitelisted users will remain.

More: https://lols.bot/docs/delete-all-msgs.en.md

## Delete CAPS

**Default:** off · key `delete-all-bolde`

When enabled, the bot automatically deletes messages from non-admins that are written entirely in capital letters (more than 5 characters long). Only the offending message is removed; the user is not banned or muted, and admins are exempt.

More: https://lols.bot/docs/delete-all-bolde.en.md

## Attach edits

**Default:** off · key `delete-attach-edits`

If a user sends a message without media and then edits it to add media, the bot deletes the message.

More: https://lols.bot/docs/delete-attach-edits.en.md

## Delete NSFW (groups only)

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

If an attached photo contains sexual content, it will be deleted. On repeat the user may be blocked.

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

## Delete gore (groups only)

**Default:** off · key `del-nsfw-violence`

Works like the NSFW filter, but images are checked for violence (may occasionally trigger on game screenshots). Due to false positives, no ban is issued even on repeat.

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

## Delete bold (groups only)

**Default:** on · key `delete-all-bold`

When enabled, the bot deletes messages that are written predominantly in bold. Bold is the **heavy, thick typeface** Telegram applies to text via the formatting menu (Bold, Ctrl/⌘+B) or the `**text**` markup. Spammers use it to make ads stand out: for example, a message like **«URGENT! Earn from $500 a day, write me in private»** set entirely in bold will be removed, while a normal message with one bold word (**important**: meeting moved to 7 pm) is left alone.

More: https://lols.bot/docs/delete-all-bold.en.md

## From guest bot

**Default:** off · key `delete-all-guestbot`

Guest bots are like inline bots but have access to extra chat info; they are not chat members but can post when a user invokes them. If enabled, such messages are deleted and the bot is blocked.

More: https://lols.bot/docs/delete-all-guestbot.en.md

## Bot greetings (groups only)

**Default:** off · key `delbotgreet`

Deletes messages from OTHER bots that mention a user this bot has already blocked in the chat. Moderation bots usually greet a newcomer a few seconds or minutes after they join — but by then the account may already be banned as a spammer. The greeting is pointless (the person will never see it) and misleading: for everyone else in the chat it looks as if the spammer is a legitimate member. The mentioned user is recognised in three ways: a name linked to a profile, an @username, and a bare numeric id in the text. Such a message is removed even when the other bot is an administrator of the chat, so no rights need to be taken away from it.

More: https://lols.bot/docs/delbotgreet.en.md

## No zalgo

**Default:** off · key `delete-zalgo`

Deletes messages whose text or caption contains "zalgo" — text overloaded with stacked combining diacritical marks that distorts how the chat looks. If the same zalgo characters appear in the sender's name, the bot also mutes that user for 20 minutes and posts a short auto-deleting notice asking them to clean up their name. Admins are exempt.

More: https://lols.bot/docs/delete-zalgo.en.md

## Rich messages

**Default:** off · key `delete-all-rich`

When enabled, the bot automatically deletes any "Rich message" (Telegram's rich-formatted message type) posted by a non-admin in the chat. Only the message is removed — the sender is not banned or muted.

More: https://lols.bot/docs/delete-all-rich.en.md

## Widgets

**Default:** off · key `delete-all-widgets`

When enabled, the bot deletes any message containing an HTML widget (a Telegram message type with an interactive mini-page inside), including forwarded ones, posted by a non-admin. Only the message is removed — the sender is not banned or muted; a short notice is shown (privately in silent mode).

More: https://lols.bot/docs/delete-all-widgets.en.md
