Sunday AI Setup Copilot
How Sunday AI Works
Understand the technical workflow of Sunday AI: OAuth2 session checks, live guild context gathering, action blocks, and DOM sync.
End-to-End Configuration Workflow
-
Authenticated Admin Session VerificationEvery request sent to
POST /dashboard/:guildId/api/sunday-aipasses Express session authentication (requireAuth) and real-timecheckGuildAdminAccessverification. -
Live Guild Context SnapshottingThe backend fetches up to 40 text/announcement channels, 30 voice channels, 40 server roles, current welcome configuration, and server premium status (Free vs Pro).
-
Multi-Turn ClarificationWhen essential details are missing (such as target channel or welcome background style), Sunday AI lists your actual channels and eligible wallpaper presets and asks clarifying questions before finalizing.
-
Structured Action Execution & Tier FilteringOnce confirmed, the backend parses the structured update payload, resolves channel names/IDs cleanly, enforces Free vs Pro wallpaper rules, saves changes to MongoDB/local DB, updates dashboard DOM controls immediately, and dispatches any requested Discord action.
Conversation Memory Scope
Sunday AI uses your recent session turns (up to the last 10 messages in the active browser conversation array sundayConversation) so you can refine settings step by step. Clicking Clear Chat resets the conversation history cleanly.