Discord

Learn how to use Discord with Composio

Overview

Enum

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
token
stringRequired

Actions

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
object
error
string
successful
boolean
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
object
error
string
successful
boolean
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
object
error
string
successful
boolean
Fetches comprehensive profile information for the currently authenticated discord user, including email if the 'email' scope is granted.

Action Parameters

Action Response

data
object
error
string
successful
boolean
Retrieves a list of the authenticated user's connected third-party accounts on discord.

Action Parameters

Action Response

data
array
error
string
successful
boolean
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
array
error
string
successful
boolean