DiscordDevelopmentBot is a modular, scalable Discord bot framework built with discord.py.
It is designed for learning, production use, and long-term expansion, featuring a clean architecture based on:
- Cogs (feature modules)
- Services (backend logic)
- Utilities (helpers)
- Config-driven environment system
- User balance system
- Daily rewards
- Work system
- Extensible shop system (planned)
- Kick / ban system
- Warning system
- Future timeout system
- Permission-based access control
- Coinflip
- Dice rolling
- Expandable framework for blackjack, slots, trivia, etc.
- Voice access control
- Role-based voice gating
- Auto moderation in voice channels
- Custom help system
- Ping / latency check
- Bot information
This bot uses a clean modular structure:
- Cogs → Commands & Discord interactions
- Services → Core logic (database, economy, voice handling)
- Utils → Helper functions & reusable tools
- Config system → Environment-based configuration
┌──────────────┐
│ Discord Bot │
└──────┬───────┘
│
┌───────────────────────| │ │ │ ▼ ▼ ▼ Twitch Service YouTube Service Discord Core (Live system) (Uploads only) (All commands)
DiscoTheBot/ │ ├── bot.py ├── .env ├── .env.example ├── requirements.txt ├── README.md ├── LICENSE ├── .gitignore │ ├── config/ │ ├── settings.py │ ├── constants.py │ ├── cog_loader.py │ └── init.py │ ├── services/ │ │ │ ├── database.py │ ├── logging_service.py │ │ │ ├── twitch_service.py │ ├── twitch_eventsub.py │ ├── twitch_chat.py │ ├── twitch_roles.py │ │ │ ├── youtube_service.py │ ├── youtube_uploads.py │ ├── youtube_milestones.py │ │ │ └── discord_service.py │ ├── cogs/ │ │ │ ├── utility/ │ │ ├── help.py │ │ ├── ping.py │ │ ├── botinfo.py │ │ └── init.py │ │ │ ├── moderation/ │ │ ├── kick.py │ │ ├── ban.py │ │ ├── warn.py │ │ └── init.py │ │ │ ├── economy/ │ │ ├── balance.py │ │ ├── daily.py │ │ ├── work.py │ │ └── init.py │ │ │ ├── games/ │ │ ├── coinflip.py │ │ ├── dice.py │ │ └── init.py │ │ │ ├── twitch/ │ │ ├── live_notifications.py │ │ ├── role_sync.py │ │ ├── chat_bridge.py │ │ └── init.py │ │ │ ├── youtube/ │ │ ├── upload_announcements.py │ │ ├── milestone_tracker.py │ │ └── init.py │ │ │ └── events/ │ ├── on_ready.py │ ├── on_member_join.py │ └── init.py │ ├── utils/ │ ├── embeds.py │ ├── checks.py │ ├── formatting.py │ ├── cooldowns.py │ └── init.py │ ├── data/ │ ├── users.db │ ├── twitch_cache.json │ ├── youtube_cache.json │ └── schema.sql │ ├── logs/ │ ├── bot.log │ ├── twitch.log │ ├── youtube.log │ └── errors.log │ └── assets/ ├── images/ ├── icons/ └── banners/
git clone https://github.com/yourname/DiscordDevelopmentBot.git cd DiscordDevelopmentBot
pip install -r requirements.txt create a .env file based on .env.example run the bot using python bot.py
This project is designed as a: learning + production-ready Discord bot framework
It focuses on: - Clean architecture - Scalability - Maintainability - Easy feature expansion
- Economy shop system 🛒
- Leveling system 📈
- Slash command support ⚡
- Ticket system 🎫
- Voice gating system 🎤
This project is licensed under the MIT License. See LICENSE file for details.
If you use this project or its structure, credit is appreciated: DiscordDevelopmentBot by **DovahkiinsArmy