Open Connector
所有 Tools

Discord Bot

Connect to Discord with a bot token to manage channels and messages.

discord-botv1.0.07 个 Tools

认证方式

方式底层类型状态说明
API Keyapi_keyavailable

调用示例

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 Account

Tags

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 Account

Tags

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 Account

Tags

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 Account

Tags

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 Account

Tags

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 Account

Tags

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 Account

Tags

guildschannelsread

Provider 资源