Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt

Use this file to discover all available pages before exploring further.

Credentials

1. Create a Discord Application

  1. Go to https://discord.com/developers/applications
  2. New Application -> name it (e.g., “Mirage”)

2. Create a Bot

  1. Bot in the left sidebar
  2. Reset Token -> copy the Bot Token
  3. Under Privileged Gateway Intents, enable:
    • Message Content Intent (required to read message content)

3. Invite the Bot to Your Server

  1. OAuth2 -> URL Generator in the left sidebar
  2. Select scopes: bot
  3. Select bot permissions: Read Messages/View Channels, Read Message History
  4. Copy the generated URL and open it in a browser to invite

4. Set Environment Variables

# .env.development
DISCORD_BOT_TOKEN=MTIx...
For Python configuration, see the Python Discord Setup guide.