How enesemre0/voidbot works
VoidBot is a Turkish-language Discord bot. A user sends a prefixed message; the registered message handler resolves a command or alias, then runs a command that responds in Discord and may update server settings or game state. Its command set spans moderation, server utilities, economy, entertainment, and information. The tree and sampled files support this runtime and several feature branches; many individual commands were not inspected, so their internal behavior and integrations are not detailed here.
Main entry points: message.js Command dispatch · index.js Bot startup · eventLoader.js Event loader · duello.js Duel game
Components 19
Bot Runtime
- Bot startup
index.js - Event loader
util/eventLoader.js - Command dispatch
events/message.js - Message updates
events/messageUpdate.js - Ready handler
events/ready.js
Moderation
- Moderation commands
komutlar - Jail workflow
komutlar/jail.js
Server Tools
- Server utilities
komutlar - Auto-answer setup
komutlar/aaa.js
Games & Economy
- Economy commands
komutlar - Entertainment commands
komutlar - Duel game
komutlar/duello.js - Game utilities
util/Util.js
Information
- Currency lookup
komutlar/döviz.js - Info commands
komutlar
Other components
- Discord user
- Discord
- Quick.db store
- TCMB rates
Connections 27
- Discord user → Discord: sends messages
- Discord → Command dispatch: delivers events
- Bot startup → Event loader: registers events
index.js - Event loader → Command dispatch: routes messages
util/eventLoader.js - Event loader → Message updates: routes updates
util/eventLoader.js - Event loader → Ready handler: routes ready
util/eventLoader.js - Bot startup → Moderation commands: loads commands
index.js - Bot startup → Server utilities: loads commands
index.js - Bot startup → Economy commands: loads commands
index.js - Bot startup → Entertainment commands: loads commands
index.js - Bot startup → Info commands: loads commands
index.js - Command dispatch → Moderation commands: dispatches to
events/message.js - Command dispatch → Server utilities: dispatches to
events/message.js - Command dispatch → Economy commands: dispatches to
events/message.js - Command dispatch → Entertainment commands: dispatches to
events/message.js - Command dispatch → Info commands: dispatches to
events/message.js - Moderation commands → Jail workflow: includes command
- Server utilities → Auto-answer setup: includes command
- Info commands → Currency lookup: includes command
- Entertainment commands → Duel game: includes game
- Jail workflow → Quick.db store: stores jail state
komutlar/jail.js - Auto-answer setup → Quick.db store: stores replies
komutlar/aaa.js - Duel game → Game utilities: uses verification
komutlar/duello.js - Duel game → Quick.db store: adds winner points
komutlar/duello.js - Currency lookup → TCMB rates: fetches rates
komutlar/döviz.js - Command dispatch → Discord: invokes command
events/message.js - Ready handler → Discord: sets presence
events/ready.js