EXECUTE SLACK COMPATIBLE WEBHOOK
The endpoint supports Slack-compatible webhook payloads for a specific ID
and token, including query parameters for waiting and threading, and various
body parameters like text. It returns suc
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_EXECUTE_SLACK_COMPATIBLE_WEBHOOK])
GET GUILD TEMPLATE
This endpoint fetches guild template details including code, name, description,
usage, creator info, creation/update times, guild ID, roles, channels, and
configurations, and provides structur
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_GUILD_TEMPLATE])
CREATE GUILD FROM TEMPLATE
Create a guild from a template by posting to `/guilds/templates/{code}`
with a JSON body including a guild name (required, 2-100 chars) and optional
base64-encoded icon. Returns guild details
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_CREATE_GUILD_FROM_TEMPLATE])
GET GUILD NEW MEMBER WELCOME
This endpoint fetches new member welcome settings for a guild, detailing
message, status, actions, and channels. It handles success, no content,
and error responses, secured by a BotToken.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_GUILD_NEW_MEMBER_WELCOME])
GET GUILD SCHEDULED EVENT
Retrieve details of a specific scheduled event in a guild, including user
count if requested. Supports querying with a boolean flag for including
user count. Responds with event details includ
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_GUILD_SCHEDULED_EVENT])
DELETE GUILD SCHEDULED EVENT
Endpoint allows deleting a guild's scheduled event. Success returns a 204
response. Client errors return a detailed error object. Requires BotToken
for security.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_GUILD_SCHEDULED_EVENT])
UPDATE GUILD SCHEDULED EVENT
This endpoint allows for updating events in a guild, including details like
status and timing. It supports various content types, returning updated
event data upon success or an error response
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_GUILD_SCHEDULED_EVENT])
LIST GUILD SCHEDULED EVENTS
This Discord API endpoint retrieves a guild's scheduled events, with an
option to include participant counts, returning details such as ID and name.
It requires BotToken authentication and ind
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_GUILD_SCHEDULED_EVENTS])
CREATE GUILD SCHEDULED EVENT
This API endpoint schedules guild events, allowing name, description, and
timing customization. It supports various event types and uses JSON. Successful
requests return event details; failure
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_CREATE_GUILD_SCHEDULED_EVENT])
GET GUILD WELCOME SCREEN
This API endpoint retrieves guild welcome screen details, such as channel
info and emojis, using a BotToken for authentication. It returns success
(200) with data or 4XX error codes for any is
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_GUILD_WELCOME_SCREEN])
UPDATE GUILD WELCOME SCREEN
This API endpoint updates a guild's welcome screen, allowing changes to
its description, enabling it, and adding up to five welcome channels with
IDs, descriptions, and optional emojis. It ret
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_GUILD_WELCOME_SCREEN])
UPDATE VOICE STATE
The `/guilds/{guild_id}/voice-states/{user_id}` endpoint updates a user's
voice state in a guild, accepts `suppress` and `channel_id`, and returns
204 on success or error messages. Requires Bo
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_VOICE_STATE])
DELETE GUILD INTEGRATION
Deletes an integration from a guild. Returns a 204 on success or 4XX for
client errors, with detailed error messages. Security: BotToken.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_GUILD_INTEGRATION])
LIST GUILD INTEGRATIONS
This endpoint fetches a guild's integrations (e.g., Discord, Twitch, YouTube),
allowing querying by guild ID. It outputs types, names, accounts, statuses
of integrations, handles client errors
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_GUILD_INTEGRATIONS])
GET GUILDS ONBOARDING
This endpoint retrieves onboarding information for a specific guild by ID,
including prompts, default channels, and status. It returns details such
as prompt configuration and options for guil
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_GUILDS_ONBOARDING])
PUT GUILDS ONBOARDING
This endpoint allows updating a guild's onboarding information, including
customization of prompts, options, default channels, and modes. It returns
updated details and handles errors with det
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_PUT_GUILDS_ONBOARDING])
GET GUILD VANITY URL
Fetches a guild's vanity URL details, including code and usage, or returns
an error if applicable. Supports client errors (4XX) with detailed messages.
Requires a BotToken for authentication.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_GUILD_VANITY_URL])
LIST GUILD AUDIT LOG ENTRIES
The OpenAPI schema describes how to get guild audit logs with filters like
`user_id`, `target_id`, etc. It returns log entries, users, integrations,
and more, including detailed error codes fo
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_GUILD_AUDIT_LOG_ENTRIES])
SYNC GUILD TEMPLATE
Synchronizes a guild template. Returns the updated template object, including
details like template code, name, description, and creator information.
Errors return as client error responses.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_SYNC_GUILD_TEMPLATE])
DELETE GUILD TEMPLATE
This endpoint deletes a guild template using its ID and code, returning
the template's details upon success, or a client error with failure specifics.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_GUILD_TEMPLATE])
UPDATE GUILD TEMPLATE
This endpoint lets users update a guild template's name (1-100 chars) and
description (up to 120 chars or null) via PATCH. Returns template details
(code, name, usage count, creator_id) or a c
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_GUILD_TEMPLATE])
LIST GUILD TEMPLATES
This endpoint lists all templates for a given guild, returning details like
template codes, names, descriptions, and usage counts, plus creator info
and guild settings. Errors return as client
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_GUILD_TEMPLATES])
CREATE GUILD TEMPLATE
This API endpoint lets users create guild templates by submitting a JSON
with a 'name' (1-100 characters) and an optional 'description' (up to 120
characters). Successful requests return templ
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_CREATE_GUILD_TEMPLATE])
GET GUILD STICKER
This endpoint fetches details of a guild's sticker, such as ID, name, tags,
type, format, description, availability, guild ID, and user info if available,
covering success and client error res
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_GUILD_STICKER])
DELETE GUILD STICKER
This endpoint allows for the deletion of a specific sticker within a guild
by ID. On success, it returns a 204 response. If a client error occurs,
it provides a detailed error object including
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_GUILD_STICKER])
UPDATE GUILD STICKER
The endpoint enables updating a guild sticker's details (name, tags, description)
via PATCH request and JSON data, requiring a valid BotToken. Successful
changes return a 200 response with upd
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_GUILD_STICKER])
BULK BAN USERS FROM GUILD
This Discord endpoint enables bulk banning up to 200 users from a guild,
with an option to delete their messages ranging from 0 to 604800 seconds.
It returns lists of banned and failed bans, i
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_BULK_BAN_USERS_FROM_GUILD])
LIST GUILD STICKERS
The `/guilds/{guild_id}/stickers` endpoint retrieves guild stickers, detailing
various attributes including ID and name, covering both standard and guild-specific
stickers. Error responses com
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_GUILD_STICKERS])
CREATE GUILD STICKER
This endpoint creates a guild sticker with a name, tags, and image file,
returning its ID, type, and status. Name, tags, and file are mandatory.
It supports multipart/form-data.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_CREATE_GUILD_STICKER])
GET GUILD WEBHOOKS
Retrieve details and configurations of all guild webhooks by ID, including
application, avatar, channel, and user info. Returns an array of webhook
objects or null if none. Supports detailed D
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_GUILD_WEBHOOKS])
LIST GUILD CHANNELS
This endpoint fetches channels for a guild ID, covering text, voice, DMs,
threads, permissions with details on messages, users, and returns errors
with messages and codes.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_GUILD_CHANNELS])
CREATE GUILD CHANNEL
This endpoint creates new guild channels (text, voice, category, etc.) with
customizable features like name, position, and permissions. It supports
thread customization and provides channel de
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_CREATE_GUILD_CHANNEL])
GET GUILD MEMBER
Retrieve detailed info for a member of a specific guild by user ID, including
avatar, communication status, roles, and more. Handles successful fetches
and client errors efficiently.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_GUILD_MEMBER])
ADD GUILD MEMBER
Endpoint to add a member to a guild. It requires an access token and allows
setting nicknames, roles, mute/deaf status, and flags. Responses include
201 (member added), 204 (no content), and 4
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_ADD_GUILD_MEMBER])
DELETE GUILD MEMBER
Removes a guild member successfully, returning a 204 response. Errors, including
invalid inputs, produce client error responses with detailed error codes
and messages according to Discord's AP
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_GUILD_MEMBER])
UPDATE GUILD MEMBER
This endpoint updates guild member details like nickname, roles, mute, and
deaf status via PATCH requests, summarizing successful modifications and
user info in responses.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_GUILD_MEMBER])
GET GUILD PREVIEW
The `/guilds/{guild_id}/preview` endpoint fetches a guild's preview, including
ID, name, icon, description, features, member count, emojis, and stickers.
It returns 200 on success, 4XX on clie
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_GUILD_PREVIEW])
LIST GUILD INVITES
This endpoint returns a list of invites for a specified guild, including
invite type, code, inviter, channel details, and usage stats. Errors are
returned as client error responses with Discor
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_GUILD_INVITES])
LIST GUILD VOICE REGIONS
The `/guilds/{guild_id}/regions` endpoint fetches voice regions for a guild,
returning an array of objects with `id`, `name`, among other fields, in
JSON format including errors and successes.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_GUILD_VOICE_REGIONS])
GET GUILD EMOJI
Fetches a specific emoji details from a guild. Endpoint: `/guilds/{guild_id}/emojis/{emoji_id}`.
It returns the emoji's ID, name, associated roles, and its user details
if available, alongside
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_GET_GUILD_EMOJI])
DELETE GUILD EMOJI
Delete a guild emoji by ID, returns a 204 on success, or client error with
a detailed JSON error object. Requires a BotToken for authentication.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_GUILD_EMOJI])
UPDATE GUILD EMOJI
Modifying a guild emoji involves specifying its name and (optionally) roles
using application/json. Updates, requiring token authentication, return
the emoji's updated details or Discord API e
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_GUILD_EMOJI])
LIST GUILD EMOJIS
This GET endpoint lists all emojis for a specified guild, identified by
`guild_id`. It returns an array of emoji objects or null, including details
like emoji ID, name, associated roles, and u
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_LIST_GUILD_EMOJIS])
CREATE GUILD EMOJI
Create a custom emoji in a guild with a name, base64 image, and optional
roles. It returns the emoji's ID, roles, and creator info. Errors include
specific codes and messages.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_CREATE_GUILD_EMOJI])
DELETE GUILD ROLE
Delete a guild role by ID, responding with a 204 on success or a client
error with detailed JSON messages. Security: BotToken.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_DELETE_GUILD_ROLE])
UPDATE GUILD ROLE
This endpoint (`PATCH /guilds/{guild_id}/roles/{role_id}`) updates a guild
role's attributes such as name, permissions, color, hoist, mentionable,
icon, and unicode emoji. It returns the updat
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCORD_UPDATE_GUILD_ROLE])