How to set up automatic comment moderation

Setting up automatic comment moderation in a Telegram channel requires connecting a moderation bot to your channel's linked discussion group. By configuring the right bot with custom rules, you can automatically filter spam, offensive language, and unwanted links — keeping your community clean without constant manual oversight.

Understanding Comment Moderation in Telegram

Telegram channels don't have built-in automatic moderation for comments. When you enable comments on a channel, Telegram creates (or links) a discussion group where all comment threads live. This means moderation happens at the group level, not the channel level directly.

There are two main approaches to automatic moderation:

  • Built-in Telegram tools — basic anti-spam and slow mode settings available natively
  • Third-party moderation bots — advanced filtering, custom rules, and automated actions

Most channel owners with over 1,000 subscribers find that native tools alone aren't sufficient and turn to moderation bots for comprehensive protection.

Using Telegram's Built-in Moderation Features

Before adding bots, configure the native options available in your discussion group.

Enable Aggressive Anti-Spam

  1. Open your discussion group (not the channel itself)
  2. Tap the group name to open Group Info
  3. Go to Administrators
  4. Find Aggressive Anti-Spam and enable it
  5. Telegram will now automatically delete messages it identifies as spam

This feature is available for groups with more than 200 members and uses Telegram's machine learning to detect spam patterns.

Configure Slow Mode

Slow mode limits how often users can send messages, which reduces flood-style spam:

  1. Go to Group InfoPermissions
  2. Set Slow Mode to an interval (10 seconds, 30 seconds, 1 minute, etc.)
  3. This forces users to wait between messages

Restrict New Members

  1. Navigate to Group InfoPermissions
  2. Disable Send Messages for new members by default
  3. Set a Chat History for New Members policy — choose whether new joiners can see previous messages

Setting Up a Moderation Bot

For serious automatic moderation, you need a dedicated bot. Here are the most popular and reliable options.

Option 1: Combot (@comaborot)

Combot is one of the most widely used moderation bots with a comprehensive feature set.

Setup steps:

  1. Add @combot to your discussion group
  2. Promote it to administrator with these permissions:
    • Delete messages
    • Ban users
    • Restrict members
  3. Visit the Combot dashboard at their website and log in with your Telegram account
  4. Select your group and configure rules:
    • Anti-spam filters — set sensitivity levels for link detection, forward detection, and repetitive messages
    • Word filters — add banned words and phrases
    • New user restrictions — require captcha or restrict actions for new members
  5. Set punishment escalation: warn → mute → ban

Option 2: Rose (@MissRose_bot)

Rose is a free, powerful moderation bot with extensive customization.

Setup steps:

  1. Add @MissRose_bot to your discussion group
  2. Grant full administrator permissions
  3. Configure via chat commands:
    • /antispam on — enable anti-spam protection
    • /blacklist word1 word2 — block specific words
    • /warn — set up a warning system
    • /setwarnlimit 3 — auto-ban after 3 warnings
    • /setflood 5 — delete messages if a user sends more than 5 in a row
    • /setfloodmode tban 1h — temporarily ban flooders for 1 hour

Option 3: Shieldy (@shaborieldy_bot)

Shieldy specializes in captcha-based verification to stop bot spam.

  1. Add @shaborieldy_bot to your discussion group
  2. Make it an administrator
  3. Configure with /shieldy:
    • Choose captcha type: button, image, math equation, or custom
    • Set time limit for solving (default: 2 minutes)
    • Enable deletion of join/leave messages for cleaner chat

Option 4: Group Help Bot (@GroupHelpBot)

A versatile bot with a web-based configuration panel.

  1. Add @GroupHelpBot and grant admin rights
  2. Type /settings to open the configuration menu
  3. Configure anti-spam rules, welcome messages, and auto-moderation through the interactive menu

Creating Custom Moderation Rules

Regardless of which bot you choose, configure these essential rule categories:

Anti-Spam Rules

  • Link filtering — block messages containing URLs (whitelist your own domains)
  • Forward filtering — delete forwarded messages from other channels
  • Flood control — limit message frequency per user
  • Media spam — restrict excessive image or sticker sending

Content Filtering

  • Profanity filter — create a blacklist of banned words in all relevant languages
  • Phone number detection — block messages containing phone numbers
  • Cryptocurrency/trading spam — filter common scam patterns like "earn $X daily" or wallet addresses

User Verification

  • Captcha on join — require new members to solve a challenge within 60-120 seconds
  • Account age check — restrict or flag accounts created less than 7 days ago
  • Profile verification — flag users without profile photos or with suspicious usernames

Punishment Escalation

Set up a graduated response system:

  1. First offense: Warning + message deletion
  2. Second offense: Temporary mute (1–24 hours)
  3. Third offense: Temporary ban (1–7 days)
  4. Repeated violations: Permanent ban

Monitoring Moderation Performance

After setting up auto-moderation, track its effectiveness:

  • Review bot logs weekly — most bots provide /stats or dashboard analytics
  • Check for false positives — legitimate messages incorrectly flagged as spam
  • Monitor the discussion group periodically to catch what bots miss
  • Adjust filter sensitivity based on your channel's specific spam patterns

For channels publishing content to the web through platforms like tgchannel.space, clean comment sections also improve the quality of your public-facing content, since comment threads may be visible alongside exported posts.

Tips & Best Practices

  • Use multiple layers: Combine Telegram's built-in anti-spam with a moderation bot for the best coverage. No single tool catches everything.
  • Start with moderate settings: Begin with medium sensitivity and tighten rules gradually. Overly aggressive filtering drives away legitimate commenters.
  • Whitelist trusted users: Most bots let you exempt specific users or roles from auto-moderation. Add your regular contributors to avoid frustrating them.
  • Create clear group rules: Pin a message with community guidelines in your discussion group. When users know the rules, they're less likely to violate them — and you have clear grounds for bans.
  • Set up admin notifications: Configure your bot to send moderation logs to a private admin channel so you can review actions without cluttering the main group.
  • Use regional word filters: If your channel targets a specific audience, add spam keywords in that language. Generic English-only filters miss non-English spam entirely.
  • Schedule regular rule reviews: Spammers adapt. Review and update your filter rules at least once a month to address new spam patterns.

Common Mistakes

Mistake 1: Giving bots insufficient permissions
Why it's wrong: A moderation bot without Delete Messages or Ban Users permissions can detect spam but cannot act on it. Your rules exist on paper only.
How to avoid: Always grant the bot full admin permissions — at minimum: delete messages, ban users, restrict members, and pin messages.

Mistake 2: Setting flood limits too low
Why it's wrong: If you set flood detection to 2 messages, even normal users participating in a discussion will get muted or banned. This kills engagement.
How to avoid: Start with a flood limit of 7–10 messages per 10 seconds. Observe group behavior for a week before adjusting downward.

Mistake 3: Forgetting to configure the discussion group
Why it's wrong: Many channel owners add the bot to the channel itself instead of the linked discussion group. Since comments live in the group, the bot won't moderate anything.
How to avoid: Always add and configure moderation bots in the discussion group, not the channel.

Mistake 4: Never reviewing moderation logs
Why it's wrong: Auto-moderation isn't perfect. False positives alienate genuine users, and false negatives let spam through. Without review, you won't know which is happening.
How to avoid: Check bot logs or /stats at least weekly. Adjust filters when you spot patterns.

Mistake 5: Using too many bots simultaneously
Why it's wrong: Multiple bots with overlapping rules create conflicts — double-deleting messages, contradictory punishments, or race conditions where both try to ban the same user.
How to avoid: Pick one primary moderation bot and supplement only with specialized bots that handle different functions (e.g., one for captcha, one for content filtering).

Frequently Asked Questions

Can I moderate comments without a discussion group?
No. Telegram channel comments only work through a linked discussion group. If your channel doesn't have one, go to Channel SettingsDiscussion and either create a new group or link an existing one. All moderation happens in this group.

Do moderation bots work in channels with restricted commenting?
If you've disabled comments entirely in your channel settings, there's nothing to moderate. If comments are enabled but restricted to specific users, bots will still moderate those users' messages according to your rules.

Will auto-moderation delete messages from administrators?
By default, most bots skip messages from group administrators and the channel owner. You can usually change this in bot settings, but it's generally recommended to keep admin exemptions active to prevent accidental self-moderation.

Can I set different rules for different types of content?
Yes. Most advanced bots like Combot and Rose allow granular rules — for example, blocking links in text messages but allowing them in replies to specific posts, or permitting images but blocking stickers during certain hours.

Is there a way to auto-moderate in multiple languages?
Absolutely. Add blacklisted words and phrases in every language your audience uses. Bots like Rose support Unicode fully, so you can filter Cyrillic, Arabic, Chinese characters, and emoji-based spam patterns alongside English terms.