Discord

Learn how to use Discord with Composio

Overview

SLUG

DISCORD

Description

An instant messaging and VoIP social platform.

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
stringDefaults to https://backend.composio.dev/api/v1/auth-apps/add
scopes
stringDefaults to identify,email,connections,guilds,guilds.join,guilds.members.read,applications.commands,messages.read,openid
bearer_token
string
token
stringRequired

Tools

SLUG: DISCORD_GET_INVITE

Tool to retrieve information about a specific invite code. use when you need to get details about a guild or channel associated with an invite.

Action Parameters

guild_scheduled_event_id
string
invite_code
stringRequired
with_counts
boolean
with_expiration
boolean

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: DISCORD_GET_MY_GUILD_MEMBER

Retrieves the guild member object for the currently authenticated user within a specified guild, provided they are a member of that guild.

Action Parameters

guild_id
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: DISCORD_GET_MY_OAUTH2_AUTHORIZATION

Retrieves current oauth2 authorization details for the application, including app info, scopes, token expiration, and user data (contingent on scopes like 'identify').

Action Parameters

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: DISCORD_GET_MY_USER

Fetches comprehensive profile information for the currently authenticated discord user, including email if the 'email' scope is granted.

Action Parameters

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: DISCORD_LIST_MY_CONNECTIONS

Retrieves a list of the authenticated user's connected third-party accounts on discord.

Action Parameters

Action Response

data
arrayRequired
error
string
successful
booleanRequired

SLUG: DISCORD_LIST_MY_GUILDS

Lists the current user's guilds, returning partial data for each; primarily used for displaying server lists or verifying memberships.

Action Parameters

after
string
before
string
limit
integer
with_counts
boolean

Action Response

data
arrayRequired
error
string
successful
booleanRequired