Discord
Connect to Discord to read the user profile and guild membership.
discordv1.0.04 个 Tools
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
调用示例
import { createClient } from "@open-connector/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.需要连接1 scope
Lists external account connections for the authenticated Discord user.
认证
需要 Connected AccountScopes
connectionsTags
connectionsread
Get Discord current userDISCORD_CURRENT_USER_GETGets the authenticated Discord user's profile.需要连接2 scopes
Gets the authenticated Discord user's profile.
认证
需要 Connected AccountScopes
emailidentifyTags
usersread
Get Discord current user guild memberDISCORD_CURRENT_USER_GUILD_MEMBER_GETGets the authenticated user's guild member profile for a specific Discord guild.需要连接1 scope
Gets the authenticated user's guild member profile for a specific Discord guild.
认证
需要 Connected AccountScopes
guilds.members.readTags
guildsmembersread
List Discord current user guildsDISCORD_CURRENT_USER_GUILDS_LISTLists partial guilds that the authenticated Discord user belongs to.需要连接1 scope
Lists partial guilds that the authenticated Discord user belongs to.
认证
需要 Connected AccountScopes
guildsTags
guildsread