Open Connector
← 所有 Tools

Discord logoDiscord

Get the signed-in user, list their servers, and read their member profile and linked accounts.

discordvcatalog-v14 个 Tools

认证方式

方式底层类型状态说明
OAuth 2.0oauth2availableAuthorize Discord with OAuth 2.0. Complete the provider's sign-in or consent flow; requests run with the permissions granted to this connection.

调用示例

import { createClient } from "@open-connector/commercial-sdk";const oc = createClient({  baseUrl: "https://api.openconnector.dev",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({  slug: "DISCORD_CURRENT_USER_CONNECTIONS_LIST",  connectedAccountId: "conn_...",  arguments: { /* match this tool's input schema */ },});
import Composio from "@composio/client";const composio = new Composio({  baseURL: "https://api.openconnector.dev/composio",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("DISCORD_CURRENT_USER_CONNECTIONS_LIST", {  connected_account_id: "conn_...",  arguments: { /* match this tool's input schema */ },});
oc tools execute DISCORD_CURRENT_USER_CONNECTIONS_LIST --data '{ }'

Tool 目录

可用 Tools

4 个可调用操作

List Discord current user connectionsDISCORD_CURRENT_USER_CONNECTIONS_LISTLists external account connections for the authenticated Discord user.

Lists external account connections for the authenticated Discord user.

认证

需要 Connected Account

Scopes

connections

Tags

connectionsread
Get Discord current userDISCORD_CURRENT_USER_GETGets the authenticated Discord user's profile.

Gets the authenticated Discord user's profile.

认证

需要 Connected Account

Scopes

emailidentify

Tags

usersread
List Discord current user guildsDISCORD_CURRENT_USER_GUILDS_LISTLists partial guilds that the authenticated Discord user belongs to.

Lists partial guilds that the authenticated Discord user belongs to.

认证

需要 Connected Account

Scopes

guilds

Tags

guildsread
Get Discord current user guild memberDISCORD_CURRENT_USER_GUILD_MEMBER_GETGets the authenticated user's guild member profile for a specific Discord guild.

Gets the authenticated user's guild member profile for a specific Discord guild.

认证

需要 Connected Account

Scopes

guilds.members.read

Tags

guildsmembersread

Provider 资源