Discord Utility Bot
A multi-command Discord bot built with Python and discord.py for server management, moderation, and utility automation. Supports slash commands, role-based access, auto-responses, and scheduled tasks — deployable on any VPS.
Problem
Growing Discord communities need automated moderation and utility commands but most bots are either bloated, require subscriptions, or don't support custom logic. A self-hosted bot gives full control over commands, data, and behavior.
Solution
Python discord.py bot with modular command architecture. Slash commands for moderation (kick, ban, mute, warn), utility (info, ping, uptime), and auto-responses triggered by keyword patterns. Role-based permission checks on sensitive commands. Runs persistently via systemd or Docker.
Architecture
discord.py with slash command support via app_commands. Modular cog architecture separates moderation, utility, and fun command groups.
Moderation: kick, ban, timeout, warn, clear. Utility: server info, user info, ping, uptime. Auto-responses: keyword-triggered replies with configurable patterns.
Role-based checks ensure moderation commands are only accessible to designated roles. Guild-level configuration stored per-server.
Runs on a VPS via systemd service or Docker container. Persistent across restarts with automatic reconnection handling.
Highlights
- Modular cog architecture — moderation, utility, and auto-response groups.
- Slash command support with role-based permission enforcement.
- Keyword-triggered auto-responses with configurable patterns.
- Persistent VPS deployment via systemd or Docker.