Discord Integration

'Connect Discord to Supervity, authorize access, and use Discord messages, channels, and server collaboration in operators and workflows.'

This guide explains how to connect Discord to Supervity, what data is available after connection, how operators can use Discord data and actions within workflows, and how to remove the integration when needed.


Overview

The Supervity Discord integration allows your workspace to securely connect Discord as a governed communication capability.

Once connected, operators and workflows can send messages to server channels, retrieve recent conversation threads, edit or clean up announcements, list and manage channel structures, and coordinate community interactions across your Discord servers.

With the Discord integration, Supervity can:

  • Send text messages, formatting markdown, and notifications into channels
  • Edit previously sent messages and delete obsolete messages
  • Read and paginate recent channel messages for sentiment or query analysis
  • List accessible channels in a server (guild)
  • Create new text or announcement channels for projects or triage
  • Update channel names, topics, and settings
  • Remove or archive temporary channels
  • Retrieve the authenticated user's profile and identify server memberships

All Discord access is governed through Supervity's security, permissions, and audit controls.


Why Use the Discord Integration?

Discord is widely used for engineering teams, developer communities, and customer advocacy. Connecting Discord to Supervity empowers real-time interactive workflows:

  • Incident Alerts & Status Broadcasts: Post automated incident alerts, deployment notifications, or release summaries directly into engineering channels.
  • Community Support Assistance: Read incoming questions in support channels, analyze context with AI operators, and reply with accurate guidance.
  • Project Channel Automation: Automatically create dedicated channels when a major incident or new initiative begins in Jira, Linear, or GitHub.
  • Message Moderation & Archival: Clean up automated broadcast messages or archive temporary channels after an event concludes.
  • Cross-Platform Syncing: Forward announcements from Slack, email, or blog releases directly into community channels.

Prerequisites

Before connecting Discord, ensure you have:

  • An active Supervity workspace
  • A Discord account with membership in the target server(s)
  • Sufficient permissions in the Discord server (e.g., Send Messages, Read Message History, Manage Channels if channel creation is needed)
  • Permission to authorize third-party OAuth applications on your Discord account

Note: The integration uses Discord user OAuth (identify + guilds). Actions in channels operate under the permissions of your connected user account.


Adding the Discord Integration

Follow these steps to connect Discord to Supervity. If you encounter any issues during setup, refer to the Troubleshooting section of this guide.

Step 1: Open Integrations

  1. Log in to Supervity.
  2. From the left navigation bar, click the Integrations icon.

This opens the Integrations page, displaying all available connectors.

Step 2: Select Discord

  1. Locate Discord in the available integrations list.
  2. Click Connect.

Step 3: Authorize Access

You will be redirected to Discord's authorization screen.

  1. Review the permissions requested by Supervity (identify, guilds).
  2. Click Authorize to connect your Discord account.
  • Supervity implements Discord's standard OAuth 2.0 authorization protocol.
  • Your Discord account password is never shared with or stored by Supervity.

Step 4: Complete Connection

After authorization, you will be redirected back to Supervity automatically.

The Discord integration will appear as Connected on the Integrations page. Connected means the user authorized identify and guilds. This connector does not install a Discord bot. Channel and message actions then run with that user's token and succeed only where that user can already see or post in the channel.

Having trouble? See the Troubleshooting section for solutions to common connection issues.


How Discord Works in Supervity

After connection, Discord functions as a governed communication tool.

Operators can invoke Discord actions dynamically when asked to send alerts, summarize conversations, or coordinate team channels, while workflows can automate routine broadcasts.

Common workflow patterns include:

  • Sending a deployment notification to #announcements when a pull request is merged
  • Reading the last 50 messages from a #feedback channel and generating a daily digest
  • Creating a temporary #war-room-incident-123 channel when a severity-1 alert triggers
  • Deleting transient status messages after an automated task finishes

Using Discord in Operators

Connected Discord capabilities become available to operators automatically. Operators evaluate user requests, determine whether messaging or channel actions are required, and execute operations safely.

What Operators Can Do with Discord

  • Message Management: Send formatted messages, edit messages, delete messages, and read recent message history.
  • Channel Operations: List channels in a server, inspect channel settings, create new channels, and update channel topics.
  • Identity & Membership: Inspect authenticated user profile information and server memberships.

Typical Operator Use Cases

Use CaseExample Workflow
Real-Time AlertsSend CI/CD build failure alerts to #dev-ops
Community EngagementPost a weekly product update in #community-updates
Incident ManagementCreate a temporary channel for an ongoing triage session
Discussion AnalysisRead and summarize questions from #help
Channel HousekeepingUpdate the topic of a channel to reflect current sprint

Features & Prerequisites

For each Discord capability available in Supervity, the following describes the use case and the prerequisites required before use.

Send Message

Use Case: Post a new text message or announcement into a Discord channel. Supports markdown syntax (bold, italics, code blocks, lists).

Prerequisites:

  • Discord account connected to Supervity
  • Target Channel ID and message content must be provided
  • "Send Messages" permission in the target channel

Edit Message

Use Case: Update the content of an existing message previously posted by the application.

Prerequisites:

  • Discord account connected to Supervity
  • Channel ID, Message ID, and updated content must be provided

Delete Message

Use Case: Remove a message from a Discord channel.

Prerequisites:

  • Discord account connected to Supervity
  • Channel ID and Message ID must be provided
  • "Manage Messages" permission if deleting messages posted by others

Get Channel Messages

Use Case: Retrieve recent messages from a channel with pagination support (limit, before, after).

Prerequisites:

  • Discord account connected to Supervity
  • Channel ID must be provided
  • "Read Message History" permission enabled

List Channels

Use Case: List all channels in a server (guild) accessible to the authenticated user. Channel names are returned without leading # (e.g. general).

Prerequisites:

  • Discord account connected to Supervity
  • Guild (Server) ID must be provided

Get Channel

Use Case: Retrieve metadata for a specific channel, including topic, type, bitrate, and position.

Prerequisites:

  • Discord account connected to Supervity
  • Channel ID must be provided

Create Channel

Use Case: Create a new text, voice, or announcement channel in a server.

Prerequisites:

  • Discord account connected to Supervity
  • Guild ID, channel name, and channel type must be provided
  • "Manage Channels" permission enabled in the server

Update Channel

Use Case: Modify channel properties such as name, topic, or rate limit (slowmode).

Prerequisites:

  • Discord account connected to Supervity
  • Channel ID must be provided
  • "Manage Channels" permission enabled

Delete Channel

Use Case: Permanently delete a channel from a server.

Prerequisites:

  • Discord account connected to Supervity
  • Channel ID must be provided
  • "Manage Channels" permission enabled

Get Authenticated User

Use Case: Retrieve the connected user's profile, Discord username, user ID, and avatar.

Prerequisites:

  • Discord account connected to Supervity
  • User profile permissions enabled (identify scope)

Get User

Use Case: Inspect user details by user ID.

Prerequisites:

  • Discord account connected to Supervity
  • Target User ID must be provided

Permissions Requested

Supervity only requests the permissions required for enabled Discord capabilities.

Depending on the features used in your workspace, permissions may include:

Permission TypePurpose
User IdentityIdentify the connected Discord user account and profile information
Server MembershipsList accessible Discord servers (guilds) and verify user roles
Channel ManagementList channel structures, inspect topics, and create project channels
Messages & AnnouncementsSend notifications, edit messages, and read recent conversation history

Supervity follows least-privilege principles and only accesses data necessary to provide requested functionality.


Authentication & Security

Discord integration adheres to strict enterprise standards:

  • User OAuth 2.0: Direct authentication via Discord's OAuth 2.0 flow without requiring administrative bot installs.
  • Token Security: Tokens are encrypted at rest using AES-256-GCM.
  • TLS 1.3: All communication with Discord's REST API (v10) uses TLS 1.3.
  • Normalized Refresh Handling: Token refresh requests automatically omit application install scopes to ensure seamless session continuity.
  • Audit Logging: Every message sent, edited, or deleted is logged in Supervity.

Troubleshooting

Channel Not Found in List Channels

  • Cause: The authenticated user does not have permission to view the private channel, or the Guild ID is incorrect.
  • Resolution: Verify that the user has the "View Channel" permission in the Discord server and that the correct server (guild) ID was provided.

Channel Names Without Hashes

  • Note: Discord's API represents channel names without the # character (e.g., general, not #general).
  • Resolution: When searching or filtering by name in workflows, match on the plain name without leading #.

403 Forbidden on Create or Manage Channels

  • Cause: The connected Discord user account does not have the "Manage Channels" permission on the server.
  • Resolution: Have a server administrator grant your Discord user or role the "Manage Channels" permission.

Frequently Asked Questions

Q: Can Supervity interact with Discord servers I do not own?
Yes, as long as your Discord user account is a member of the server and possesses the necessary channel permissions.

Q: Can Supervity send messages with rich embeds or buttons?
Supervity supports Discord markdown formatting and structured text in messages. Interactive buttons and components require a custom Discord Bot token.

Q: How do I find a Discord Server or Channel ID?
Enable Developer Mode in Discord Settings > Advanced. Then right-click any server icon or channel name and select Copy Server ID or Copy Channel ID.


Support

If you need assistance with the Discord integration, visit the Support page.

Support Hours

  • Monday to Friday, 9:00 AM – 6:00 PM IST
  • Requests submitted outside business hours will be addressed on the next business day

First Response SLA

  • All support requests receive an initial response within 24 business hours

Contact Information

When Contacting Support, Please Provide

  • Workspace name
  • Discord account username/email used for authorization
  • Relevant workflow or operator information
  • Error messages or screenshots when available

This helps the support team investigate and resolve issues more quickly.


product-guide/integrations-overview/discord