Skip to content

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

  1. Go to discord.com/developers
  2. Click New Application → name your bot
  3. Go to Bot → copy the bot token
  4. Go to OAuth2 → copy Application ID and Public Key
  5. In RagLeap: Channels → Discord
  6. Enter Bot Token, Application ID, and Public Key
  7. 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?