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.

Last updated: 1 min read

End-to-End Configuration Workflow

  1. Authenticated Admin Session Verification
    Every request sent to POST /dashboard/:guildId/api/sunday-ai passes Express session authentication (requireAuth) and real-time checkGuildAdminAccess verification.
  2. Live Guild Context Snapshotting
    The backend fetches up to 40 text/announcement channels, 30 voice channels, 40 server roles, current welcome configuration, and server premium status (Free vs Pro).
  3. Multi-Turn Clarification
    When 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.
  4. Structured Action Execution & Tier Filtering
    Once 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.

Search Fusion Bot Documentation