How izaalalacoder/b1td4re works
This is a Discord coding-challenge competition bot. Members join or leave a guild’s competition, browse date-specific challenges, submit repository links, vote on other players’ work, and view rankings or participation calendars. The runtime registers command cogs; game state and participation history are held in memory on Member objects, while challenge descriptions are loaded from dated XML assets. The excerpts show command-to-domain calls and responses; no persistence service or Git-host interaction is evident.
Main entry points: challenges.py Challenge commands · game.py Game commands · bot.py Bot startup · help.py Help command
Components 9
Bot runtime
- Bot startup
bot/bot.py
Discord commands
- Game commands
bot/commands/game.py - Challenge commands
bot/commands/challenges.py - Help command
bot/commands/help.py
Competition domain
- Member state
bot/entities/member.py - Challenge catalog
bot/entities/challenge.py
Challenge content
- Dated challenge XML
bot/assets/april/2025.xml
Other components
- Discord member
- Discord platform
Connections 14
- Bot startup → Game commands: registers
bot/bot.py - Bot startup → Challenge commands: registers
bot/bot.py - Bot startup → Help command: registers
bot/bot.py - Discord member → Game commands: issues commands
bot/commands/game.py - Discord member → Challenge commands: issues commands
bot/commands/challenges.py - Discord member → Help command: requests help
bot/commands/help.py - Game commands → Member state: creates and updates
bot/commands/game.py - Challenge commands → Game commands: checks participants
bot/commands/challenges.py - Challenge commands → Challenge catalog: loads and checks
bot/commands/challenges.py - Challenge commands → Member state: records and scores
bot/commands/challenges.py - Challenge catalog → Dated challenge XML: reads dated data
bot/entities/challenge.py - Game commands → Discord platform: sends replies
bot/commands/game.py - Challenge commands → Discord platform: sends replies
bot/commands/challenges.py - Help command → Discord platform: sends command list
bot/commands/help.py