IntegrationsBuilt-in Providers

Discord

Connect Discord to your Appstrate agents.

Overview

Discord is a communication platform, allowing your agents to send messages, manage servers, and interact with communities.

Authentication Mode

PropertyValue
Typeoauth2
HeaderAuthorization: Bearer <token>
Default scopesidentify

Available Scopes

ScopeDescription
identifyRead user profile (id, username, avatar)
emailRead user email address
guildsList user's guilds (servers)
guilds.joinAdd user to a guild
guilds.members.readRead user's guild member info
connectionsView user's linked accounts
botAdd bot to a guild
webhook.incomingCreate incoming webhooks
applications.commandsRegister slash commands
messages.readRead messages in channels

Authorized URIs

The agent can access the following endpoints through the sidecar proxy:

  • https://discord.com/api/*

Connect Discord

  1. Create a Discord application
  2. Go to OAuth2 settings and add the Appstrate redirect URI
  3. Copy the Client ID and Client Secret
  4. Enter these credentials in the Discord provider settings on Appstrate

Usage in an Agent

Once connected, the agent can call Discord APIs through the sidecar proxy. Example prompt:

Monitor the #support channel on the Discord server.
When a new message contains the word "bug", automatically create a
matching GitHub issue and reply in the thread with the issue link.

On this page