AI Agents
Discord User Guide
Here's how to use the Rapidflare AI Agent via Discord.
Introduction
After enabling Discord, you will see an agent added to your Discord server. The agent responds to slash commands in channels where it has been installed.

Commands Overview
| Command | Description | Permission |
|---|---|---|
/install [reply_type] | Activate the agent in a channel with response mode | Manage Channels |
/uninstall | Deactivate the agent from a channel | Manage Channels |
/ask | Ask questions to the AI Agent | All users |
Slash Commands
There are three slash commands available:
1. /install command
Use the /install command to activate the agent in a specific channel. This is the first step after adding the agent to your server.
Usage: /install [reply_type]
This command requires Manage Channels permission. Once installed, users can use the /ask command in that channel.

Reply Type Options
When running /install, you can choose how the agent responds to questions:

| Reply Type | Description |
|---|---|
| Public | Agent responds publicly in the channel. Everyone can see the response. |
| Ephemeral | Agent responds with ephemeral messages. Only the person who asked can see the response. |
| Thread | Agent creates a new thread for each question and responds within that thread. |
Public Response
The default behavior. The agent's response is visible to everyone in the channel.

Ephemeral Response
Only the user who asked the question can see the response. This is useful for channels where you want to keep conversations private or reduce clutter.

Thread Response
The agent automatically creates a new thread for each question. This helps organize conversations and keeps the main channel clean.

Thread & Forum Support
When you install the agent in a channel, all threads created in that channel will also have access to the agent. For forum channels, installing in the forum enables the agent in all forum posts.
Once installed, you'll see a success message:

2. /uninstall command
Use the /uninstall command to deactivate the agent from the current channel.
Usage: /uninstall
This command also requires Manage Channels permission.

3. /ask command
Use the /ask command to ask questions to the Rapidflare AI Agent.
Usage: /ask <your question>


When you submit a question, you'll see real-time progress indicators:
- 🔍 Searching for relevant information...
- 🧠 Analyzing your question...
- ✨ Generating response...
The agent will then provide an answer with relevant references.

Note
Discord has a 2,000 character limit per message. If the response is longer, it will automatically be split into multiple messages labeled as "Message 1/2", "Message 2/2", etc.
Providing Feedback
After receiving a response, you'll see feedback buttons at the bottom of the message:
- 👍 Good - The response was helpful
- 👎 Bad - The response needs improvement

When you click a feedback button:
- You'll be asked to select a tag describing your feedback (e.g., "Accurate", "Incomplete", "Irrelevant")
- Optionally, you can provide additional comments via a popup modal

- Your feedback is saved and helps us improve the AI Agent
Good to know!
Only the person who asked the original question can provide feedback on that response. This ensures feedback is relevant and accurate.
Managing Installed Channels
You can view which channels have the agent installed from your admin dashboard:
- Navigate to Deployments → Discord → Installed Channels

Disabling Discord Integration
You can disable Discord integration using one of these methods:
Method 1: From Rapidflare Dashboard
- Go to your admin dashboard's Deployments page
- Click Disable on the Discord row
This will disconnect the agent from your server.
Method 2: From Discord
- Go to your Discord server
- Open Server Settings → Integrations
- Find the Rapidflare agent (or your custom agent)
- Click Remove Integration
Note
Removing the agent directly from Discord doesn't notify Rapidflare of the disconnection. We recommend using Method 1 for cleaner tracking.
Troubleshooting
Agent not responding to /ask
- Run
/installin the channel first
Agent not appearing in server
- Check if OAuth authorization was completed
/install command not working
- Ensure you have Manage Channels permission
"Server not connected" error
- Re-enable Discord from the dashboard
For additional support, contact us at support@rapidflare.ai.