GET ORIGINAL WEBHOOK MESSAGE
The OpenAPI schema outlines managing webhook messages via a `GET` method,
requiring `webhead_id`, `webhook_token`, and an optional `thread_redirect`
for message details, including errors. Esse
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_ORIGINAL_WEBHOOK_MESSAGE])
DELETE ORIGINAL WEBHOOK MESSAGE
Deletes the original message sent by a webhook. Accepts 'thread_id' as a
query parameter. On success, returns a 204. Client errors return a detailed
JSON object with error codes and messages.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_ORIGINAL_WEBHOOK_MESSAGE])
UPDATE ORIGINAL WEBHOOK MESSAGE
This OpenAPI endpoint updates webhook messages using a thread ID, supporting
media, interactive elements, and customization with detailed error info
for client handling.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_ORIGINAL_WEBHOOK_MESSAGE])
LIST GUILD SCHEDULED EVENT USERS
Retrieve a list of users for a scheduled event in a guild, with optional
member information. Supports filtering by time and limiting the number of
results. Responds with user and member detail
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_GUILD_SCHEDULED_EVENT_USERS])
GET AUTO MODERATION RULE
The endpoint fetches an auto-moderation rule for a guild using its ID, returning
details like rule and creator IDs, event types, actions, trigger types,
and exemptions, along with success or e
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_AUTO_MODERATION_RULE])
DELETE AUTO MODERATION RULE
Deletes a specific auto-moderation rule in a guild by rule_id. On success,
returns a 204 with no content. Client errors return a detailed error object.
Requires BotToken authentication.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_AUTO_MODERATION_RULE])
UPDATE AUTO MODERATION RULE
This endpoint allows for updating guild auto-moderation rules, offering
customizable triggers, actions like blocking or timeouts, and exemptions,
with content checks such as keyword filtering.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_AUTO_MODERATION_RULE])
LIST AUTO MODERATION RULES
The endpoint provides details on auto-moderation rules for guilds, including
conditions, actions, triggers, exemptions, message control, user guidelines,
and content restrictions. Errors retur
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_AUTO_MODERATION_RULES])
CREATE AUTO MODERATION RULE
The `/guilds/{guild_id}/auto-moderation/rules` endpoint allows creating
auto-moderation rules for a guild with a JSON configuration for rule name,
events, actions, and exemptions. Responses in
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_CREATE_AUTO_MODERATION_RULE])
UPDATE SELF VOICE STATE
This endpoint enables users to manage their voice state in a guild, allowing
them to request to speak, self-suppress, or switch channels. It provides
feedback on successful updates or explains
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_SELF_VOICE_STATE])
SEARCH GUILD MEMBERS
Search guild members by query. Limit range: 1-1000, query length: 1-100
characters. Returns member info including status, roles, join date, etc.
Supports bot token authentication. Error respon
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_SEARCH_GUILD_MEMBERS])
GET ACTIVE GUILD THREADS
Endpoint retrieves active threads within a specified guild, including thread
details and member info. Returns thread lists, members associated, and pagination
details. Supports error handling
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_ACTIVE_GUILD_THREADS])
UPDATE MY GUILD MEMBER
Endpoint allows updating a member's info in a guild, including nickname
and avatar. Requires JSON with optional fields. Returns member's updated
info and status or error messages.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_MY_GUILD_MEMBER])
LEAVE GUILD
This endpoint lets a user exit a guild, sends a 204 on success, and indicates
client errors with 4XX codes and detailed Discord error objects. A BotToken
is needed for security.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LEAVE_GUILD])
GET APPLICATION COMMAND
This endpoint fetches details of a specific application command, including
properties, options, and permissions in JSON. Errors return with codes and
descriptions. Security needs a Bot token o
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_APPLICATION_COMMAND])
DELETE APPLICATION COMMAND
Delete a specific application command by ID. Returns a 204 on success, or
a client error with a detailed JSON object for errors. Supports both BotToken
and OAuth2 authentication methods.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_APPLICATION_COMMAND])
UPDATE APPLICATION COMMAND
This endpoint lets users update application commands including names, options,
and permissions. It supports localization, different structures, and NSFW
settings, providing update confirmation
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_APPLICATION_COMMAND])
LIST APPLICATION COMMANDS
This endpoint fetches commands for an app, optionally filtering by localization.
Responses include command details or null. Allows filtering, requires authentication.
Errors include a code and
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_APPLICATION_COMMANDS])
CREATE APPLICATION COMMAND
This OpenAPI endpoint allows creating application commands with features
like chat inputs, user commands, localization, diverse data types, sub-commands,
customizable permissions, and efficien
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_CREATE_APPLICATION_COMMAND])
CREATE INTERACTION RESPONSE
The API endpoint facilitates responses with text, embeds, and controls using
IDs and tokens. It supports various content types, ensures security with
bot tokens, delivers clear error messages,
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_CREATE_INTERACTION_RESPONSE])
GET THREAD MEMBER
This API endpoint fetches details of a thread member in a channel, offering
optional in-depth member data. It returns ID, user ID, join date, and roles,
with errors following Discord's standar
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_THREAD_MEMBER])
ADD THREAD MEMBER
This endpoint allows for adding a member to a thread in a channel, specified
by `channel_id` and `user_id`. Responses include a `204` for success, or
a `4XX` client error with details. Require
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_ADD_THREAD_MEMBER])
DELETE THREAD MEMBER
This endpoint allows for the removal of a member from a thread within a
given channel. Successful deletion returns a 204 status, while client errors
yield detailed error messages. Security req
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_THREAD_MEMBER])
LIST THREAD MEMBERS
Retrieve thread members by channel ID with optional filters and pagination.
Supports boolean queries, limits, and cursor adjustments. Returns member
objects or error codes and messages.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_THREAD_MEMBERS])
SET CHANNEL PERMISSION OVERWRITE
The endpoint sets channel permission overwrites via `PUT`, requiring `type`,
`allow`, `deny` in JSON; it returns `204` on success or `4XX` with error
details.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_SET_CHANNEL_PERMISSION_OVERWRITE])
DELETE CHANNEL PERMISSION OVERWRITE
Deletes a permission overwrite for a channel, identified by `channel_id`
and `overwrite_id`. On success, returns a 204 response. If there's a client
error, returns details of the Discord API e
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_CHANNEL_PERMISSION_OVERWRITE])
ADD GROUP DM USER
Endpoint allows adding a user to a DM group on Discord. Requires an access
token, with optional nickname. Responds with channel details on success
or error messages for client errors.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_ADD_GROUP_DM_USER])
DELETE GROUP DM USER
This endpoint allows for deleting a recipient from a group DM in Discord.
It responds with a 204 on success or a client error with detailed API error
messages. Auth required.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_GROUP_DM_USER])
FOLLOW CHANNEL
This endpoint lets a user follow a channel using JSON, returning the channel
and webhook IDs on success. It uses Discord error codes for client errors
and requires BotToken for authentication.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_FOLLOW_CHANNEL])
GET MESSAGE
The OpenAPI schema outlines an endpoint for fetching a Discord message using
`channel_id` and `message_id`, detailing message info like type, content,
and author upon success. It supports mult
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_MESSAGE])
GETMESSAGE
The OpenAPI schema outlines an endpoint for fetching a Discord message using
`channel_id` and `message_id`, detailing message info like type, content,
and author upon success. It supports mult
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GETMESSAGE])
DELETE MESSAGE
Delete a message in a channel by its IDs. Returns a 204 on success or client
error with detailed JSON response for issues. Requires BotToken.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_MESSAGE])
UPDATE MESSAGE
The endpoint enables message updates in Discord, including content, embeds,
flags, etc., through patch requests. It supports JSON/form data and demands
error handling and permissions for custo
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_MESSAGE])
LIST MESSAGES
The OpenAPI schema outlines an endpoint for managing messages in channels
by ID, allowing message queries based on position and limiting returns.
It includes message details and handles errors
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_MESSAGES])
CREATE MESSAGE
This OpenAPI endpoint enables creating messages in a Discord channel, supporting
text, images, embeds, and attachments. It allows mentions, interactive components,
and follows Discord API stan
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_CREATE_MESSAGE])
LIST CHANNEL WEBHOOKS
This endpoint fetches webhooks for a `{channel_id}`, returning an array
of webhook objects or null, with fields like `application_id`, `name`, `type`,
etc. Response codes are `200` (success) a
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_CHANNEL_WEBHOOKS])
CREATE WEBHOOK
This endpoint enables webhook creation in a channel using a POST request,
requiring a name and optional avatar. It returns details on success or a
Discord error code if failed.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_CREATE_WEBHOOK])
LIST CHANNEL INVITES
This endpoint fetches invite objects for a channel, encompassing users,
bots, guilds, and more, for various joining purposes. Errors yield detailed
client responses.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_CHANNEL_INVITES])
CREATE CHANNEL INVITE
This endpoint allows users to create customizable channel invites with settings
for duration, usage limits, temporary memberships, and specific channel
types, including response schemas for su
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_CREATE_CHANNEL_INVITE])
CREATE THREAD
This endpoint allows creating a Discord thread in a channel, supporting
JSON and form-data with options like name, auto-archive, and rate limits.
It returns thread details or error messages fo
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_CREATE_THREAD])
TRIGGER TYPING INDICATOR
Trigger a typing indicator in a specified channel. Responds with 200 or
204 on success, and detailed client error for 4XX codes. Requires bot token
for authentication.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_TRIGGER_TYPING_INDICATOR])
PIN MESSAGE
Endpoint pins a message in a channel with a `PUT` request to `/channels/{channel_id}/pins/{message_id}`,
responding with a 204 status code on success. Errors provide detailed issue
description
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_PIN_MESSAGE])
UNPIN MESSAGE
This endpoint deletes a message by ID in a channel, requiring BotToken for
authentication. It returns a 204 status on success or a detailed JSON error
for client issues, including codes and me
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UNPIN_MESSAGE])
LIST PINNED MESSAGES
This OpenAPI endpoint retrieves pinned messages in a channel, specified
by `channel_id`, including message details like ID, content, and author.
It efficiently handles client errors with descr
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_PINNED_MESSAGES])
GET WEBHOOK MESSAGE
This endpoint fetches a webhook-sent message using webhook ID, token, and
message ID. Optionally, a `thread_id` can specify the thread. It returns
message details and error details if any issu
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_WEBHOOK_MESSAGE])
DELETE WEBHOOK MESSAGE
This endpoint deletes a webhook-sent message, optionally using a `thread_id`.
Success results in a 204 response, while failures return detailed error
objects with Discord-specific codes and me
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_WEBHOOK_MESSAGE])
UPDATE WEBHOOK MESSAGE
This schema outlines a webhook message update endpoint, supporting PATCH
requests. It allows editing message text, components, attachments, and mentions,
with detailed error and security (incl
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_WEBHOOK_MESSAGE])
EXECUTE GITHUB COMPATIBLE WEBHOOK
The `/webhooks/.../github` endpoint accepts POST from GitHub webhooks, handling
actions like comments and issues with `wait` and `thread_id` parameters.
It either returns a 204 status or a cli
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_EXECUTE_GITHUB_COMPATIBLE_WEBHOOK])