How samsanai/voicemaster-discord-bot works
VoiceMaster is a Discord bot for configuring and managing temporary voice channels. Server owners configure a join-to-create channel; a voice-state event detects joins, creates and assigns a personal channel, then deletes it after it becomes empty. Users can also manage channel access, limits, names, and ownership. The excerpts show the bot entry point, the voice cog, and SQLite operations; other command behavior is represented only where documented or visible in excerpts.
Main entry points: voice.py Voice commands · voice.db SQLite database · voicecreate.py Bot entry point
Components 8
Bot runtime
- Bot entry point
voicecreate.py
Voice channels
- Voice commands
cogs/voice.py - Server setup
cogs/voice.py - Temporary channel lifecycle
cogs/voice.py - Channel controls
cogs/voice.py
Persistent state
- SQLite database
voice.db
Other components
- Discord member
- Discord platform
Connections 14
- Bot entry point → Voice commands: loads extension
voicecreate.py - Discord member → Discord platform: uses bot
README.md - Discord platform → Bot entry point: dispatches events
- Discord platform → Voice commands: delivers voice events
- Discord member → Server setup: configures server
cogs/voice.py - Server setup → Discord platform: creates channels
cogs/voice.py - Server setup → SQLite database: stores setup
cogs/voice.py - Voice commands → Temporary channel lifecycle: handles voice state
cogs/voice.py - Temporary channel lifecycle → SQLite database: reads and writes
cogs/voice.py - Temporary channel lifecycle → Discord platform: creates and deletes
cogs/voice.py - Discord member → Channel controls: runs commands
cogs/voice.py - Channel controls → SQLite database: looks up channels
cogs/voice.py - Channel controls → Discord platform: edits permissions
cogs/voice.py - Voice commands → Channel controls: provides help
cogs/voice.py