Discord Bot¶
Add an AI bot to your Discord server that answers questions from your documents.
Requirements¶
- Discord account with server admin access
- Discord Developer Portal access
Setup¶
- Go to discord.com/developers
- Click New Application → name your bot
- Go to Bot → copy the bot token
- Go to OAuth2 → copy Application ID and Public Key
- In RagLeap: Channels → Discord
- Enter Bot Token, Application ID, and Public Key
- Save
Invite Bot to Server¶
Use the OAuth2 URL Generator in Discord Developer Portal:
- Scope: bot
- Permissions: Send Messages, Read Message History
Webhook URL¶
Set in Discord Developer Portal → Interactions Endpoint URL: https://ragleap.com/api/discord/webhook/
Testing¶
Mention your bot in any channel: @YourBot what is your return policy?