Discord Community Bots
Custom Discord bots for gaming communities featuring whitelist management, support tickets, music player, and automated moderation
Project Overview
These custom Discord bots were developed to automate and enhance community management for 7 Days to Die gaming servers. The bots handle everything from player whitelist management to support tickets, music playback, and automated moderation.
Built with Python (Nextcord) and TypeScript (Discord.js), the bots integrate directly with game servers to provide real-time player management, automated responses to common questions, and seamless ticket systems for player support.
The modular architecture allows for easy customization and extension, with each bot handling specific functionality while sharing a common database for player information and server state.
Technology Stack
Python Bot
- Python 3.11
- Nextcord Library
- Async/Await
- Cogs System
TypeScript Bot
- TypeScript
- Discord.js v14
- Slash Commands
- Event Handlers
Database
- SQLite
- JSON Storage
- Data Persistence
Music
- YouTube DL
- FFmpeg
- Voice Channels
Integration
- Telnet Protocol
- RCON Commands
- Real-time Sync
Automation
- Scheduled Tasks
- Event Triggers
- Auto-moderation
Key Features
Whitelist Management
Automated whitelist system allowing players to request access through Discord. Admins can approve/deny with a single click, syncing instantly with game servers.
Support Ticket System
Players can create support tickets directly in Discord. Each ticket gets a private channel with staff notifications and automatic logging.
Music Player
Full-featured music bot with YouTube support, queue management, volume control, and playlist functionality for community entertainment.
Auto-Moderation
Automated moderation with spam detection, profanity filtering, and configurable warning systems. Keeps communities safe with minimal manual intervention.
Server Status Monitoring
Real-time game server status updates, player counts, and performance metrics displayed in Discord with automatic alerts for issues.
Custom Commands
Extensive library of custom slash commands for server information, player stats, rules, FAQs, and community resources.
Solutions Provided
Problems Solved
- Manual whitelist management requiring server restarts and file editing
- Player support requests scattered across multiple platforms
- Time-consuming moderation and community management tasks
- Lack of real-time server status information for players
Value Delivered
- 90% reduction in admin time spent on routine tasks
- Instant whitelist approvals without server downtime
- Centralized support with full ticket history and tracking
- Enhanced community engagement through music and entertainment features
Bot Capabilities
Whitelist Requests
Players submit requests via slash command, admins approve with one click
Ticket Support
Private channels created automatically for each support request
Music Queue
YouTube playback with queue management and volume controls
Auto-Mod Alerts
Automatic warnings and moderation actions with logging
Server Status
Live player count, uptime, and performance metrics
Slash Commands
50+ custom commands for server info and player utilities
Technical Highlights
Modular Cog Architecture
Built using Discord.py's cog system for modular, maintainable code. Each feature (whitelist, tickets, music) is a separate cog that can be loaded/unloaded without restarting the bot.
Async Event-Driven Design
Leverages Python's asyncio and Discord.js's event system for non-blocking operations. Handles multiple concurrent requests efficiently without performance degradation.
Game Server Integration
Direct integration with 7 Days to Die servers via Telnet protocol. Executes server commands, monitors player activity, and synchronizes whitelist changes in real-time.
Persistent Data Storage
Hybrid storage approach using SQLite for structured data (tickets, users) and JSON for configuration. Ensures data persistence across bot restarts and server migrations.
Error Handling & Logging
Comprehensive error handling with detailed logging for debugging. Automatic error reporting to admin channels and graceful degradation when external services are unavailable.
Need Custom Discord Bots?
I can build custom Discord bots tailored to your community's specific needs, from simple moderation to complex game integrations.