Discord Bot
Connect to Discord with a bot token to manage channels and messages.
discord-botv1.0.07 个 Tools
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| API Key | api_key | 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_BOT_CHANNEL_GET", 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_BOT_CHANNEL_GET", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute DISCORD_BOT_CHANNEL_GET --data '{ }'Tool 目录
可用 Tools
7 个可调用操作
Get Discord channelDISCORD_BOT_CHANNEL_GETGets a Discord channel by ID using a bot token.需要连接
Gets a Discord channel by ID using a bot token.
认证
需要 Connected AccountTags
channelsread
Create Discord channel messageDISCORD_BOT_CHANNEL_MESSAGE_CREATESends a message to a Discord channel using a bot token.需要连接
Sends a message to a Discord channel using a bot token.
认证
需要 Connected AccountTags
channelsmessageswrite
Delete Discord channel messageDISCORD_BOT_CHANNEL_MESSAGE_DELETEDeletes a Discord channel message using a bot token.需要连接
Deletes a Discord channel message using a bot token.
认证
需要 Connected AccountTags
channelsmessagesdelete
Edit Discord channel messageDISCORD_BOT_CHANNEL_MESSAGE_EDITEdits a Discord channel message sent by the bot.需要连接
Edits a Discord channel message sent by the bot.
认证
需要 Connected AccountTags
channelsmessageswrite
Get Discord channel messageDISCORD_BOT_CHANNEL_MESSAGE_GETGets a specific Discord channel message using a bot token.需要连接
Gets a specific Discord channel message using a bot token.
认证
需要 Connected AccountTags
channelsmessagesread
List Discord channel messagesDISCORD_BOT_CHANNEL_MESSAGES_LISTLists messages in a Discord channel using a bot token.需要连接
Lists messages in a Discord channel using a bot token.
认证
需要 Connected AccountTags
channelsmessagesread
List Discord guild channelsDISCORD_BOT_GUILD_CHANNELS_LISTLists channels in a Discord guild using a bot token.需要连接
Lists channels in a Discord guild using a bot token.
认证
需要 Connected AccountTags
guildschannelsread