Complete Setup Guide
This guide covers all aspects of setting up and configuring BeefyGuard for your Telegram group.
Prerequisites
- A Telegram group where you have admin permissions
- The ability to add bots and grant admin permissions
Initial Setup
1. Add Bot to Group
Add @beefyguard_bot to your Telegram group using the group's "Add Members" feature.
2. Grant Admin Permissions
The bot requires admin permissions to function properly:
Required Permissions:
- Delete messages
- Ban users
- Restrict members (for mute/kick actions)
Optional Permissions:
- Add new admins (only if you want to use admin sync feature)
- Pin messages (for announcement auto-pinning)
3. Verify Bot Status
Use the /botinfo command in your group to verify:
- Bot is present and has admin permissions
- All required permissions are granted
- Bot is active and responding
Configuration Methods
BeefyGuard can be configured in two ways:
Method 1: Web Dashboard (Recommended)
- Use
/dashboardcommand to get dashboard link - Open the link in your browser
- Configure all settings through the web interface
- Changes are saved automatically
Advantages:
- Visual interface with organized tabs
- See all settings at once
- Easy to understand and configure
- Real-time updates
Method 2: Bot Commands
- Use commands like
/add_flagged <name>in the group - Commands are available for most settings
- See Bot Commands for complete list
Advantages:
- Quick changes without leaving Telegram
- Works directly in group chat
- Good for simple adjustments
Essential Settings
Detection Settings
Configure how the bot detects impersonators:
- Check on Join: Enable to check new members immediately
- Check on Name Change: Detect when users change their name to match admins
- Similarity Threshold: Set how similar names must be (0.0-1.0, default: 0.85)
- Auto Ban on Match: Automatically ban detected impersonators
Admin Management
- Use
/sync_adminsto automatically track all current group admins - Or manually add admins using
/add_admin <name> - View tracked admins with
/list_admins
Flagged Names
Add names that should trigger alerts:
- Use
/add_flagged <name>to add a flagged name - Use
/show_flaggedto see all flagged names - Use
/remove_flagged <name>to remove a name
Advanced Configuration
Log Channel
Set up a log channel to receive all bot activity:
- Create a Telegram channel
- Add the bot as an admin to the channel
- Get the channel ID (use
/groupinfoin the channel) - Set it in dashboard under "Detection Settings" → "Log Channel ID"
Announcements
Forward announcements from channels to your group:
- Add bot to your announcement channel as admin
- In dashboard, go to "Announcements" tab
- Set the "Announcement Channel ID"
- Enable "Announcement Forwarding"
- Optionally enable auto-pinning
Testing Your Setup
- Test Detection: Have a test user change their name to match an admin
- Test Commands: Try
/settingsto see current configuration - Test Dashboard: Make a change in dashboard and verify it works
- Test Logging: If log channel is set, verify messages appear there
Troubleshooting
If something isn't working:
- Check bot permissions with
/botinfo - Verify bot is admin with required permissions
- Check dashboard settings are saved
- See Troubleshooting Guide
Next Steps
- First Steps Guide - What to do after initial setup
- All Bot Commands - Complete command reference
- Dashboard Overview - Understanding the dashboard