CodminBot - User Manual

Quick Start

  1. Add the bot to your Telegram group
  2. Make the bot an administrator with permissions:
  1. Use /set_log_group to configure a logging group
  2. Open/close group chat when needed with /open and /close
  3. Start using moderation commands!
All commands available for admins and owner.
If non-admin send any bot command, message deletes and attempt writes in log-group (if log-group set).

Commands

Basic Moderation

/ban [user1] [user2] ... [reason]

Ban one or multiple users from the group permanently.

Note: When using /ban by replying to a message, the original message (including media: photos, videos, GIFs, stickers, documents, etc.) is fully quoted in the log group.

Usage:

Examples:

/unban [user]

Unban a previously banned user.

Usage:

/mute [user1] [user2] ... [duration] [reason]

Temporarily or permanently mute one or multiple users (prevent them from sending messages).

Note: When using /mute by replying to a message, the original message (including media: photos, videos, GIFs, stickers, documents, etc.) is fully quoted in the log group.

Duration formats:

Usage:

Examples:

/unmute [user]

Remove mute restrictions from a user.

Usage:

/warn [user] [reason] [-s|-save] [-n|-notify]

Issue a warning to a user.

Usage:

/delete [message] [reason] [-s|-save] [-n|-notify]

Delete a message. Flags (must be among first two arguments, can be used simultaneously): -s/-save — save the target message; -n/-notify — keep bot's notification in chat.

Usage:

Configuration

/open and /close (chat access control)

Open or close the group for member messages.

Usage:

/set_log_group [group_id]

Set a group for logging all bot actions.

Usage:

Note: Only group administrators can use this command.

Join Request Auto-Review

CodminBot can automatically verify join requests with short, randomized challenges. This reduces manual review for admins and keeps the group protected from spam accounts. The feature is disabled by default and must be enabled per group. It is available only on Advanced and Pro plans (including the first-month Advanced trial). On Free plan, join request auto-review controls are locked and admins are prompted to upgrade on the website.

How it works

  1. A user sends a join request.
  2. If auto-review is enabled, the bot sends a private challenge in the user’s language (fallback to English).
  3. The user must answer within the configured time and attempt limit.
  4. The bot approves or declines the request and logs the result in the log group.

Challenge types

Enable or configure per group

  1. Open the bot menu → My groups
  2. Select your group
  3. Tap Join request checks
  4. Toggle auto-review and choose which checks are enabled

Audit log

The log group receives: status, method, attempts, user language, and user profile flags (if available).

Note: If the bot is removed from the log group or loses send permissions, the log group configuration is cleared automatically. After restoring access, run /set_log_group again.

Service Message Auto-Cleanup

CodminBot automatically removes noisy Telegram service messages (when the bot has can_delete_messages):

Each deletion can be mirrored to the log group with safe Markdown escaping (including usernames/links with underscores).

Shortcuts (Pro Plan Only)

Subscription Plans

Payment may be disabled on some deployments. Manage subscriptions in the "My groups" menu or on the website.

Free Plan

Advanced Plan

Pro Plan

FAQ

Q: How do I set up the bot?

A: Add the bot to your group, make it an administrator, and use /set_log_group to configure logging.

Q: Why can't I use some commands?

A: Some commands are only available on paid plans. Check your subscription plan in the "My groups" menu.

Q: What happens when daily limit is reached?

A: You'll receive a notification. Upgrade your plan in the "My groups" menu or on the website to remove daily limits.

Q: How do warnings work?

A: Users receive warnings for rule violations. In supergroups, after 3 warnings (default), they are automatically muted for 24 hours. In regular groups the counter grows, but auto-mute is not applied (Telegram limitation).

Q: Can I customize warning limits?

A: Currently, the default is 3 warnings. Customization will be available in the web dashboard (coming soon).

Troubleshooting

Bot doesn't respond to commands

Commands not working

Logging not working

Users not found when banning/muting

Mute not working in regular groups

Support

For issues or questions:

Scheduled pinning (/pin, /delete_pin, /unpin)