Page cover

👮Officer O - Moderation Bot

The sergeant at arms maintaining order and community standards

What Officer O Does

Officer O helps maintain a safe and welcoming environment in Cryptidz's community chat by watching out for spam, keeping order, and ensuring everyone follows the community guidelines.

Key Features:

  • Automated spam detection and prevention

  • User reporting and moderation tools

  • Raid detection and protection systems

  • Comprehensive administrative commands for group management

How to Use Officer O

For Community Members:

Basic Commands:

/start - Initialize bot interaction
/about - View bot capabilities
/help - Get support from administrators
/story - Learn about Officer O's backstory
/appeal - Restore access if restricted by anti-raid protection
/id - Get user or chat information
  Usage: /id (for your info) or /id @username (for other user info)
/report - Report messages or users to administrators
  Usage: /report @username [reason]
  Usage: /report (reply to message) [reason]

Reporting System:

  • Use /report to flag problematic messages or users

  • Include a brief reason for the report

  • Reports are sent directly to administrators for review

  • Anonymous reporting protects community members

Appeal Process:

  • If accidentally caught by anti-raid protection, use /appeal

  • Provides a way to restore access for legitimate users

  • Helps distinguish between real threats and false positives

Administrative Commands

Ban System:

/ban @username|id|reply [duration] [reason] - Ban a member
  Examples:
  • /ban @username 1d Spam posting
  • /ban 123456789 1w Harassment (using user ID)
  • /ban (reply to message) Permanent ban
  
/unban @username|id - Remove ban from a member
  Usage: /unban @username or /unban 123456789

Mute System:

/mute @username|id|reply [duration] [reason] - Restrict member messages
  Examples:
  • /mute @username 1h Excessive caps
  • /mute 123456789 12h Off-topic posting (using user ID)
  • /mute (reply to message) 1d Repeated warnings
  
/unmute @username|id|reply - Remove message restrictions
  Usage: /unmute @username or /unmute (reply to message)

Kick System:

/kick @username|id|reply [reason] - Remove from group (can rejoin)
  Examples:
  • /kick @username Rule violation
  • /kick 123456789 Repeated spam (using user ID)
  • /kick (reply to message) Off-topic behavior

Warning System:

/warn @username|id|reply [reason] - Issue warning to user
  Examples:
  • /warn @username Please stay on topic
  • /warn 123456789 No promotional links allowed (using user ID)
  • /warn (reply to message) Keep discussions respectful
  
/removewarn @username|id|reply - Remove user's most recent warning
/resetwarn @username|id|reply - Reset all user's warnings

Temporary Punishment Commands:

/tban @username|id|reply [duration] [reason] - Temporary ban
  Examples:
  • /tban @username 24h Repeated spam
  • /tban 123456789 1w Harassment (using user ID)
  • /tban (reply to message) 3d Rule violations

/tmute @username|id|reply [duration] [reason] - Temporary mute
  Examples:
  • /tmute @username 1h Excessive caps
  • /tmute (reply to message) 6h Off-topic posting

Silent Commands (No Public Notification):

/sban @username|id|reply [reason] - Silently ban member
/smute @username|id|reply [reason] - Silently mute member  
/skick @username|id|reply [reason] - Silently kick member

Delete + Punish Commands:

/dban reply [reason] - Ban and delete their message
/dmute reply [reason] - Mute and delete their message
/dkick reply [reason] - Kick and delete their message
/dwarn reply [reason] - Warn and delete their message

Message Management:

/deletemessages @username|id|reply [reason] - Bulk delete user's messages
/sdeletemessages @username|id|reply [reason] - Silent bulk delete messages

Information Commands:

/id @username|reply - Get detailed user information

Moderation Settings & Configuration

View Current Settings:

/getmoderation - Check all current moderation settings
  Shows:
  • Warning limits before punishment
  • Default ban/mute durations
  • Raid protection settings
  • Anti-flood configurations

Warning System Configuration:

/set_warn_limit [number] - Set warnings before punishment
  Examples:
  • /set_warn_limit 3 (3 warnings before action)
  • /set_warn_limit 5 (5 warnings before action)
  
/set_warn_mode [ban/mute] - Set punishment type after warnings
  Examples:
  • /set_warn_mode ban (ban users after warning limit)
  • /set_warn_mode mute (mute users after warning limit)

Duration Settings:

/set_ban_duration [duration] - Set default ban length
  Examples:
  • /set_ban_duration 1d (1 day default)
  • /set_ban_duration 1w (1 week default)
  • /set_ban_duration 30d (30 days default)
  
/set_mute_duration [duration] - Set default mute length
  Examples:
  • /set_mute_duration 1h (1 hour default)
  • /set_mute_duration 6h (6 hours default)
  • /set_mute_duration 1d (1 day default)

Protection Settings:

/setantiflood [messageCount] [interval] - Configure flood protection
  Examples:
  • /setantiflood 5 10s (5 messages in 10 seconds triggers action)
  • /setantiflood 10 1m (10 messages in 1 minute triggers action)

/setantifloodmuteduration [duration] - Set flood protection mute length
  Examples:
  • /setantifloodmuteduration 5m (5 minute mute for flooding)
  • /setantifloodmuteduration 1h (1 hour mute for flooding)

/setantiraid [memberCount] [interval] - Configure raid detection
  Examples:
  • /setantiraid 10 5m (10 members in 5 minutes triggers alert)
  • /setantiraid 20 10m (20 members in 10 minutes triggers alert)

Duration Formats

Supported Time Units:

  • m = minutes (e.g., 30m = 30 minutes)

  • h = hours (e.g., 6h = 6 hours)

  • d = days (e.g., 3d = 3 days)

  • w = weeks (e.g., 1w = 1 week)

  • y = years (e.g., 1y = 1 year)

Examples:

  • 5m = 5 minutes

  • 2h = 2 hours

  • 1d = 1 day

  • 1w = 1 week

  • No duration = permanent

Automated Protection Features

Spam Detection:

  • Flood protection against rapid message posting

Raid Protection:

  • Monitors for sudden influx of new members

  • Automatically restricts permissions during detected raids

  • Alerts administrators to potential raid situations

Appeal System:

  • Legitimate users can appeal false positive restrictions

  • Administrators can quickly review and restore access

  • Helps maintain balance between security and user experience

Best Practices for Administrators

Escalation Guidelines:

  1. First Offense: Warning with explanation

  2. Repeated Issues: Short mute (1-6 hours)

  3. Persistent Problems: Longer mute (12-24 hours)

  4. Serious Violations: Temporary ban (1-7 days)

  5. Severe/Repeated Violations: Permanent ban

Documentation:

  • Always include reasons for moderation actions

  • Use clear, specific explanations for warnings and punishments

  • Keep track of repeat offenders for escalation

  • Document patterns of behavior for future reference

Communication:

  • Explain rules clearly when issuing warnings

  • Be consistent in applying moderation standards

  • Respond to appeals fairly and promptly

  • Maintain professional tone in all interactions

Troubleshooting Common Issues

Command Not Working:

  • Verify you have administrator permissions in the group

  • Ensure correct command syntax is being used

User Information Not Found:

  • User may have left the group

  • Username may have changed recently

  • Try using user ID instead of username

  • Check if user is actually in the current chat

Moderation Actions Failing:

  • Check if target user has admin rights (can't moderate other admins)

  • Ensure duration format is correct (1d, 2h, etc.)

  • Try the command again with proper syntax

Getting Help:

  • Contact @CryptidzSupportBot for technical issues

  • Check /get_moderation to verify current settings

  • Consult this documentation for command syntax

Last updated