How carlgroth/carl-bot works
This is an outdated Discord bot offering server administration, moderation, community commands, game integrations, and activity tracking. The main user workflow is a Discord member sending a command or message, which the bot processes and answers; the README also describes a web dashboard for configuration. The excerpts show several command handlers and message listeners, but not cog loading or the dashboard implementation, so those connections are not inferred. Groups and capabilities reflect the README and source index; some cogs are represented by path only.
Main entry points: bot.py Command runtime · twitch.py Twitch announcements · mod.py Command moderation · roles.py Role management
Components 19
Bot runtime
- Command runtime
bot.py
Server management
- Command moderation
cogs/mod.py - Automated moderation
cogs/automod.py - Role management
cogs/roles.py
Community commands
- Custom tags
cogs/tags.py - Keyword highlights
cogs/highlight.py - Poll commands
cogs/poll.py - Ping commands
cogs/ping.py - Bot utilities
cogs/meta.py - Community utilities
cogs/ckc.py
External integrations
- Blizzard game info
cogs/blizzard.py - Twitch announcements
cogs/twitch.py
Activity features
- Activity reports
cogs/stats.py - Message tracking
cogs/stattrak.py
Other components
- Discord member
- Configuration dashboard
- Twitch API
- Blizzard API
- SQLite database
Connections 13
- Discord member → Command runtime: sends messages
bot.py - Command runtime → Discord member: processes commands
bot.py - Configuration dashboard → Command runtime: configures
readme.md - Blizzard game info → Blizzard API: fetches character data
cogs/blizzard.py - Twitch announcements → Twitch API: queries streams
cogs/twitch.py - Community utilities → SQLite database: reads and writes
cogs/ckc.py - Command moderation → SQLite database: reads and writes
cogs/mod.py - Role management → SQLite database: reads and writes
cogs/roles.py - Custom tags → SQLite database: reads and writes
cogs/tags.py - Keyword highlights → SQLite database: reads and writes
cogs/highlight.py - Twitch announcements → SQLite database: reads and writes
cogs/twitch.py - Message tracking → SQLite database: stores messages
cogs/stattrak.py - Activity reports → SQLite database: queries activity
cogs/stats.py