How vtloveem/autoquest works
AutoQuest is a Discord bot that accepts a user token, fetches and enrolls quests, dispatches supported quest types to specialized solvers, and reports progress and completion through Discord. Its main stages are command intake, quest orchestration, quest-specific execution, and reward/log handling. The README documents capabilities beyond the sampled code, including parallel execution, cancellation, and reward claims; these are shown at the bot boundary without assuming their unsampled implementation details. Evidence is limited to the README and provided source excerpts/index.
Main entry points: bot.js Quest runner · game2.js Embedded activities · Video.js Video quests · game1.js Desktop game
Components 14
Discord Interface
- Commands and modal
bot.js - Progress and cancellation
bot.js - Guild log channels
bot.js
Quest Orchestration
- Quest runner
bot.js - Quest status model
bot.js - Parallel workers
bot.js - Reward claiming
bot.js
Quest Solvers
- Video quests
quests/Video.js - Desktop game
quests/game1.js - Activity and stream
quests/game2.js - Embedded activities
quests/game2.js
External Services
- Discord API
- Discord game service
Other components
- Discord user
Connections 19
- Discord user → Commands and modal: runs commands
README.md - Commands and modal → Quest runner: starts quests
bot.js - Quest runner → Quest status model: loads quests
bot.js - Quest runner → Parallel workers: runs concurrently
README.md - Quest runner → Video quests: dispatches video
bot.js - Quest runner → Desktop game: dispatches desktop
bot.js - Quest runner → Activity and stream: dispatches activity
bot.js - Quest runner → Embedded activities: dispatches activity
bot.js - Quest runner → Progress and cancellation: publishes progress
README.md - Discord user → Progress and cancellation: cancels quest
README.md - Quest runner → Reward claiming: claims rewards
README.md - Quest runner → Guild log channels: reports completion
README.md - Guild log channels → Discord API: sends logs
bot.js - Commands and modal → Discord API: registers commands
bot.js - Video quests → Discord API: posts progress
quests/Video.js - Desktop game → Discord API: sends heartbeats
quests/game1.js - Activity and stream → Discord API: sends heartbeats
quests/game2.js - Embedded activities → Discord game service: exchanges tokens
quests/game2.js - Embedded activities → Discord API: submits progress
quests/game2.js