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.

Discord Agent Profile

Commands Overview

CommandDescriptionPermission
/install [reply_type]Activate the agent in a channel with response modeManage Channels
/uninstallDeactivate the agent from a channelManage Channels
/askAsk questions to the AI AgentAll 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.

Installing the agent

Reply Type Options

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

Reply Type Selection

Reply TypeDescription
PublicAgent responds publicly in the channel. Everyone can see the response.
EphemeralAgent responds with ephemeral messages. Only the person who asked can see the response.
ThreadAgent 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.

Public Response Behavior

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.

Ephemeral Response Behavior

Thread Response

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

Thread Response Behavior

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:

Install Success

2. /uninstall command

Use the /uninstall command to deactivate the agent from the current channel.

Usage: /uninstall

This command also requires Manage Channels permission.

Uninstall behavior

3. /ask command

Use the /ask command to ask questions to the Rapidflare AI Agent.

Usage: /ask <your question>

Using the /ask command

Adding a 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.

Agent response

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

Feedback buttons

When you click a feedback button:

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

Feedback comment modal

  1. 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 DeploymentsDiscordInstalled Channels

Installed Channels

Disabling Discord Integration

You can disable Discord integration using one of these methods:

Method 1: From Rapidflare Dashboard

  1. Go to your admin dashboard's Deployments page
  2. Click Disable on the Discord row

This will disconnect the agent from your server.

Method 2: From Discord

  1. Go to your Discord server
  2. Open Server SettingsIntegrations
  3. Find the Rapidflare agent (or your custom agent)
  4. 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 /install in 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.

Previous
Slack