How zamatsu-liberation/kisuke-bot works
This is a hobby Discord bot whose main workflow is receiving a prefixed message, finding a registered command, executing it, and replying in Discord. Its command areas cover moderation and server administration, AFK and utilities, AI responses, fun and roleplay, and NSFW image lookup. SQLite holds AFK and moderation records, while the bot also integrates with Groq and external image APIs. The excerpts show the dispatcher and selected command/storage links; unsampled command internals and some event behavior are not inferred.
Main entry points: index.js Command dispatcher · database.js SQLite data · afk.js AFK command · fun Fun commands
Components 16
Bot runtime
- Command dispatcher
index.js - SQLite data
commands/config/database.js
Moderation and admin
- Server administration
commands/admin - Moderation commands
commands/moderation - Warning records
commands/moderation/warn.js
AFK and utilities
- AFK command
commands/ping/afk.js - Ping command
commands/ping/ping.js - Profile utilities
commands/utils
Fun and roleplay
- Fun commands
commands/fun - Roleplay commands
commands/roleplay
AI and image integrations
- AI response
commands/ai/ai_response.js - NSFW image commands
commands/nsfw
Other components
- Discord user
- Discord platform
- Groq API
- Image APIs
Connections 20
- Discord user → Discord platform: sends message
- Discord platform → Command dispatcher: delivers events
index.js - Command dispatcher → Server administration: dispatches commands
index.js - Command dispatcher → Moderation commands: dispatches commands
index.js - Command dispatcher → AFK command: dispatches commands
index.js - Command dispatcher → Ping command: dispatches commands
index.js - Command dispatcher → Profile utilities: dispatches commands
index.js - Command dispatcher → AI response: dispatches commands
index.js - Command dispatcher → Fun commands: dispatches commands
index.js - Command dispatcher → Roleplay commands: dispatches commands
index.js - Command dispatcher → NSFW image commands: dispatches commands
index.js - Command dispatcher → SQLite data: logs commands
index.js - Command dispatcher → SQLite data: checks AFK
index.js - AFK command → SQLite data: sets AFK
commands/ping/afk.js - Warning records → SQLite data: stores warnings
commands/moderation/warn.js - AI response → Groq API: requests completion
commands/ai/ai_response.js - Roleplay commands → Image APIs: fetches GIFs
commands/roleplay/kiss.js - Fun commands → Image APIs: fetches images
commands/fun/neko.js - NSFW image commands → Image APIs: queries image sources
commands/nsfw/r34.js - Command dispatcher → Discord platform: replies to users
index.js