How istiack-29/kamla works
KAMLA is a Discord tournament-server bot. Admins invoke /st to build or rebuild a tournament server; participants then use role assignment, timers, polls, games, and other server tools. The graph covers documented and sampled product stages, with configuration stored in a private Discord channel and join-log updates sent through a webhook. Several cogs are indexed but not excerpted, so their capabilities are represented without speculative call edges.
Main entry points: main.py Bot Runtime · config.py Guild Configuration · setup_cog.py Setup Commands · settings_cog.py Settings Dashboard
Components 22
Bot Runtime
- Bot Runtime
main.py
Tournament Setup
- Setup Commands
setup_cog.py - Server Builder
server_builder.py - Settings Dashboard
settings_cog.py
Roles & Access
- Role Selection
roles_cog.py - Role Assignment
assign_cog.py - Invite Roles
invite_roles_cog.py - Welcome Messages
welcome_cog.py - Nickname Tools
nickname_cog.py
Tournament Tools
- Speech Timers
timer_cog.py - Polls
polls_cog.py - Tournament Games
games_cog.py - Push Back All
allin_cog.py - POI Tools
poi_cog.py - Toss Tools
toss_cog.py - DM Notifications
dm_notify_cog.py
State & Operations
- Guild Configuration
config.py - Request Pacing
ratelimit.py - Join Log Webhook
webhook.py - Keep Alive
keep_alive.py
Other components
- Discord Users
- Discord Platform
Connections 32
- Discord Users → Bot Runtime: uses commands
main.py - Bot Runtime → Discord Platform: connects to
main.py - Bot Runtime → Setup Commands: loads extension
main.py - Bot Runtime → Role Selection: loads extension
main.py - Bot Runtime → Push Back All: loads extension
main.py - Bot Runtime → Settings Dashboard: loads extension
main.py - Bot Runtime → Join Log Webhook: sends join log
main.py - Bot Runtime → Keep Alive: starts service
main.py - Discord Users → Setup Commands: invokes setup
setup_cog.py - Setup Commands → Server Builder: builds server
setup_cog.py - Settings Dashboard → Server Builder: changes structure
settings_cog.py - Setup Commands → Guild Configuration: reads settings
setup_cog.py - Server Builder → Guild Configuration: updates state
server_builder.py - Settings Dashboard → Guild Configuration: reads and writes
settings_cog.py - Server Builder → Discord Platform: creates resources
server_builder.py - Role Selection → Role Assignment: routes assignment
roles_cog.py - Role Assignment → Guild Configuration: uses role rules
assign_cog.py - Invite Roles → Guild Configuration: stores invite map
invite_roles_cog.py - Discord Users → Speech Timers: starts timers
timer_cog.py - Speech Timers → Discord Platform: edits timer message
timer_cog.py - Discord Users → Polls: uses polls
- Discord Users → Tournament Games: plays games
- Push Back All → Discord Platform: moves members
allin_cog.py - Discord Users → POI Tools: uses tools
- Discord Users → Toss Tools: uses tools
- DM Notifications → Discord Platform: sends notifications
- Welcome Messages → Discord Platform: welcomes members
- Nickname Tools → Discord Platform: updates nicknames
- Settings Dashboard → Join Log Webhook: schedules log edit
settings_cog.py - Join Log Webhook → Discord Platform: creates invites
webhook.py - Setup Commands → Request Pacing: uses diagnostics
setup_cog.py - Guild Configuration → Request Pacing: uses pacing
config.py