How mandur23/tendo_aris works
Aris is a Discord bot whose principal workflow is a user command entering a registered cog, which invokes a game, media, AI, or market capability and returns a Discord response. The launcher registers those cogs and starts the bot; music and TTS share voice playback infrastructure, while TRPG cogs use a rules engine and local-LLM generation. Persistence is split between JSON files and optional MySQL. The README documents capabilities beyond the sampled excerpts; links for those features use explicit README statements or indexed imports, not inferred sibling calls.
Main entry points: launcher.py Bot launcher · chat_ai.py AI chat · trpg.py Solo adventures · file_utils.py JSON and files
Components 34
Bot runtime
- Bot launcher
core/launcher.py - Command bot
core/bot.py - Web admin
core/web_admin.py - Bot watchdog
core/watchdog.py - Shutdown handler
core/shutdown_handler.py - Blackjack game
GameSystem/BlackjackGame.py
Voice and media
- Music commands
cogs/music.py - Music player
core/music_player.py - YouTube extraction
utils/ytdl_utils.py - Audio mixer
core/audio_mixer.py - TTS commands
cogs/tts.py - TTS engines
utils/tts_utils.py - RVC synthesis
utils/rvc_utils.py
AI and adventures
- AI chat
cogs/chat_ai.py - Solo adventures
cogs/trpg.py - Party adventures
cogs/trpg_party.py - Shared world
cogs/trpg_world.py - TRPG engine
GameSystem/TRPGEngine.py - Adventure UI
cogs/trpg_ui.py - Dice utilities
utils/trpg_dice.py - Web search
utils/web_search.py - Knowledge lookup
utils/knowledge_utils.py
Market data
- Stock commands
cogs/stock.py - KRX market data
utils/krx_api.py - Naver market data
utils/naver_stock.py
Shared services
- Configuration
utils/config.py - JSON and files
utils/file_utils.py - MySQL storage
utils/db_utils.py
Other components
- Discord user
- Discord platform
- Ollama service
- MySQL server
- YouTube
- Web search service
Connections 48
- Discord user → Discord platform: sends command
README.md - Discord platform → Command bot: routes commands
README.md - Bot launcher → Command bot: starts
core/launcher.py - Bot launcher → Music commands: registers
core/launcher.py - Bot launcher → TTS commands: registers
core/launcher.py - Bot launcher → AI chat: registers
core/launcher.py - Bot launcher → Solo adventures: registers
core/launcher.py - Bot launcher → Party adventures: registers
core/launcher.py - Bot launcher → Shared world: registers
core/launcher.py - Bot launcher → Stock commands: registers
core/launcher.py - Bot launcher → Web admin: starts
core/launcher.py - Bot launcher → Bot watchdog: starts
bot.py - Bot launcher → Shutdown handler: uses
bot.py - Music commands → Music player: controls
cogs/music.py - Music player → YouTube extraction: extracts media
core/music_player.py - YouTube extraction → YouTube: fetches media
README.md - Music commands → JSON and files: loads playlists
cogs/music.py - Music commands → MySQL storage: stores history
cogs/music.py - Music player → Audio mixer: plays audio
core/music_player.py - TTS commands → Audio mixer: plays overlays
cogs/tts.py - TTS commands → TTS engines: synthesizes speech
cogs/tts.py - TTS commands → RVC synthesis: uses voice models
cogs/tts.py - AI chat → Ollama service: generates replies
README.md - AI chat → Solo adventures: reads adventure context
cogs/chat_ai.py - AI chat → Web search: requests search
cogs/chat_ai.py - Web search → Web search service: searches web
README.md - AI chat → Knowledge lookup: retrieves documents
cogs/chat_ai.py - AI chat → JSON and files: loads saved context
cogs/chat_ai.py - Solo adventures → TRPG engine: runs rules
cogs/trpg.py - Party adventures → TRPG engine: runs rules
cogs/trpg_party.py - Shared world → TRPG engine: runs rules
cogs/trpg_world.py - Solo adventures → Adventure UI: uses controls
cogs/trpg.py - Party adventures → Adventure UI: uses controls
cogs/trpg_party.py - Shared world → Adventure UI: uses controls
cogs/trpg_world.py - TRPG engine → Ollama service: generates scenes
GameSystem/TRPGEngine.py - Solo adventures → Dice utilities: rolls checks
cogs/trpg.py - Party adventures → Dice utilities: rolls checks
cogs/trpg_party.py - Shared world → Dice utilities: rolls checks
cogs/trpg_world.py - Solo adventures → JSON and files: saves adventures
README.md - Party adventures → JSON and files: saves adventures
README.md - Shared world → JSON and files: saves adventures
README.md - Stock commands → KRX market data: queries market
cogs/stock.py - Stock commands → Naver market data: queries market
cogs/stock.py - Web admin → MySQL storage: checks storage
core/web_admin.py - Web admin → KRX market data: checks market data
core/web_admin.py - Web admin → Naver market data: checks market data
core/web_admin.py - JSON and files → Configuration: reads settings
utils/file_utils.py - MySQL storage → Configuration: reads settings
utils/db_utils.py