discord-mcp

v0.2.0
io.github.qungtai/discord-mcp Checked 14 hours ago Published 27 days ago

A community MCP server for the Discord REST API with traceable coverage

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

discord_add_my_message_reaction

Add a reaction to a message as the bot user. Specify unicode characters or custom emojis as name:id. Adding the same reaction twice is not an error. To see who already reacted, use discord_list_message_reactions_by_emoji; to remove this reaction later, use discord_delete_my_message_reaction. Bot permissions it may need: View Channel, Read Message History, Add Reactions, Use External Emojis. Changes Discord data; safe to retry.

ParameterTypeDescription
channel_id *stringID of the channel or thread holding the message
emoji *stringEmoji as a Unicode character ('👍') or its URL-encoded form ('%F0%9F%91%8D'), or a custom emoji as name:id ('party_blob:123456789012345678')
message_id *stringID of the message to target

discord_add_thread_member

Add another user to a thread by user ID. The thread must not be archived, and the call succeeds without change if the user is already a member. To have the bot join a thread instead, use discord_join_thread; to remove a member, use discord_delete_thread_member. Bot permissions it may need: Send Messages in Threads. Changes Discord data; safe to retry.

ParameterTypeDescription
channel_id *stringID of the thread to add the member to
user_id *stringID of the user to add to the thread

discord_bulk_delete_messages

Delete 2 to 100 messages from a guild channel in one request. The whole request fails if any message is older than 14 days or any message ID is duplicated. To delete a single message instead use discord_delete_message. Bot permissions it may need: View Channel, Manage Messages. Destructive: the user is asked to approve the exact change before it runs.

ParameterTypeDescription
channel_id *stringID of the channel containing the messages to delete
message_ids *arrayArray of 2 to 100 unique message IDs younger than 14 days to delete
reasonstringAudit log reason sent in the X-Audit-Log-Reason header (up to 512 characters)

discord_create_pin

Pin a message in a channel or thread so it appears in the channel's pinned list. Use it to keep an important message easy to find; use discord_list_pins to see what is pinned and discord_delete_pin to unpin. Returns pinned: true with the channel and message IDs. Bot permissions it may need: View Channel, Pin Messages. Changes Discord data; safe to retry.

ParameterTypeDescription
channel_id *stringID of the channel or thread that holds the message
message_id *stringID of the message to pin
reasonstringAudit log reason sent in the X-Audit-Log-Reason header (up to 512 characters)

discord_create_thread

Create a new thread without a starter message, or start a new post in a forum or media channel. Type 10 is an announcement thread (announcement channels only), 11 is a public thread visible to anyone who can view the parent channel, and 12 is a private thread visible only to invited members and moderators; type defaults to 12 when omitted. In forum or media channels pass message to create the first post. Returns the created thread. Bot permissions it may need: Create Public Threads, Create Private Threads, Send Messages, View Channel, Embed Links. Changes Discord data and is not idempotent; ch…

ParameterTypeDescription
channel_id *stringID of the parent channel (text, announcement, forum, or media)
name *stringTitle or name of the new thread (1-100 characters)
applied_tagsarrayIDs of up to 5 forum tags to apply when creating a post in a forum or media channel
auto_archive_durationDuration in minutes to automatically archive thread after inactivity: 60, 1440, 4320, or 10080
invitablebooleanWhether non-moderator members can invite others to the thread; only applicable to private threads (type 12)
messageobjectContents of the first post or message; required when creating a post in a forum or media channel
rate_limit_per_userintegerSlowmode delay per user in seconds (0-21600)
reasonstringAudit log reason for creating the thread
typeThread type: 10 (announcement thread in announcement channel), 11 (public thread in text channel), or 12 (private thread in text channel; default in text channels)

discord_create_thread_from_message

Create a new public or announcement thread from an existing message in a text or announcement channel. The new thread gets the same ID as the source message, so a message can have only one thread. Not supported in forum or media channels. Returns the created thread. To create a standalone thread without a starter message, use discord_create_thread. Bot permissions it may need: Create Public Threads, View Channel, Read Message History. Changes Discord data and is not idempotent; check the result before retrying.

ParameterTypeDescription
channel_id *stringID of the parent channel containing the message
message_id *stringID of the message to branch the thread from
name *stringTitle or name of the new thread (1-100 characters)
auto_archive_durationDuration in minutes to automatically archive thread after inactivity: 60, 1440, 4320, or 10080
rate_limit_per_userintegerSlowmode delay per user in seconds (0-21600)
reasonstringAudit log reason for creating the thread

discord_crosspost_message

Publish a message posted in an announcement channel (type 5) so Discord copies it into every channel that follows that channel. Use it after posting with discord_send_message in an announcement channel; regular text channels cannot be crossposted, and a message can be published only once, so a second call fails. Manage Messages is only needed for messages the bot did not send. Returns the published message. Bot permissions it may need: View Channel, Send Messages, Manage Messages. Changes Discord data and is not idempotent; check the result before retrying.

ParameterTypeDescription
channel_id *stringID of the announcement channel (type 5) that holds the message
message_id *stringID of the message to publish to following channels

discord_delete_all_message_reactions

Delete all reactions across all emojis and users on a single message. This permanently clears the reaction list for everyone. To remove only a single emoji type across users, use discord_delete_all_message_reactions_by_emoji; to remove only the bot's own reaction, use discord_delete_my_message_reaction. Bot permissions it may need: View Channel, Read Message History, Manage Messages. Destructive: the user is asked to approve the exact change before it runs.

ParameterTypeDescription
channel_id *stringID of the channel or thread holding the message
message_id *stringID of the message to clear all reactions from

discord_delete_all_message_reactions_by_emoji

Delete all reactions for one specified emoji on a message across every user who reacted. To remove every emoji reaction at once, use discord_delete_all_message_reactions; to remove only the bot's own reaction, use discord_delete_my_message_reaction. Bot permissions it may need: View Channel, Read Message History, Manage Messages. Destructive: the user is asked to approve the exact change before it runs.

ParameterTypeDescription
channel_id *stringID of the channel or thread holding the message
emoji *stringEmoji as a Unicode character ('👍') or its URL-encoded form ('%F0%9F%91%8D'), or a custom emoji as name:id ('party_blob:123456789012345678')
message_id *stringID of the message to target

discord_delete_message

Permanently delete a single message from a channel or thread. To delete between 2 and 100 recent messages at once use discord_bulk_delete_messages. Returns a confirmation object with the deleted message and channel IDs. Bot permissions it may need: View Channel, Manage Messages. Destructive: the user is asked to approve the exact change before it runs.

ParameterTypeDescription
channel_id *stringID of the channel or thread that holds the message
message_id *stringID of the message
reasonstringAudit log reason sent in the X-Audit-Log-Reason header (up to 512 characters)

discord_delete_my_message_reaction

Delete the bot's own reaction for a specific emoji on a message. This only removes the bot's reaction and does not affect other users. To delete another user's reaction, use discord_delete_user_message_reaction; to add a reaction, use discord_add_my_message_reaction. Bot permissions it may need: View Channel, Read Message History. Changes or removes existing Discord data without an approval prompt.

ParameterTypeDescription
channel_id *stringID of the channel or thread holding the message
emoji *stringEmoji as a Unicode character ('👍') or its URL-encoded form ('%F0%9F%91%8D'), or a custom emoji as name:id ('party_blob:123456789012345678')
message_id *stringID of the message to target

discord_delete_pin

Unpin a pinned message from a channel or thread. To add a pin use discord_create_pin, and to list all current pinned messages use discord_list_pins. Returns a confirmation object with the unpinned message and channel IDs. Bot permissions it may need: View Channel, Pin Messages. Changes or removes existing Discord data without an approval prompt.

ParameterTypeDescription
channel_id *stringID of the channel or thread that holds the message
message_id *stringID of the message
reasonstringAudit log reason sent in the X-Audit-Log-Reason header (up to 512 characters)

discord_delete_thread_member

Remove another user from a thread by user ID. Needs Manage Threads, or being the creator of a private thread; the thread must not be archived. To have the bot leave a thread instead, use discord_leave_thread; to add someone to a thread, use discord_add_thread_member. Bot permissions it may need: Manage Threads. Destructive: the user is asked to approve the exact change before it runs.

ParameterTypeDescription
channel_id *stringID of the thread to remove the member from
user_id *stringID of the user to remove from the thread

discord_delete_user_message_reaction

Delete another user's reaction for a specific emoji on a message. This removes only the target user's reaction, leaving all other reactions untouched. To remove the bot's own reaction without moderation permissions, use discord_delete_my_message_reaction; to remove all reactions of this emoji, use discord_delete_all_message_reactions_by_emoji. Bot permissions it may need: View Channel, Read Message History, Manage Messages. Destructive: the user is asked to approve the exact change before it runs.

ParameterTypeDescription
channel_id *stringID of the channel or thread holding the message
emoji *stringEmoji as a Unicode character ('👍') or its URL-encoded form ('%F0%9F%91%8D'), or a custom emoji as name:id ('party_blob:123456789012345678')
message_id *stringID of the message to target
user_id *stringID of the user whose reaction is being removed

discord_download_attachment

Download a message attachment from Discord into the local download folder (DISCORD_MCP_DOWNLOAD_DIR, default ~/Downloads/discord-mcp). Requires the message ID and the specific attachment ID (attachment_id comes from the attachments of discord_get_message). Returns local file path, size, content type and SHA-256 hash. Bot permissions it may need: View Channel, Read Message History. Writes a file to the local download folder and changes nothing in Discord.

ParameterTypeDescription
attachment_id *stringID of the attachment to download (from the attachments array of discord_get_message)
channel_id *stringID of the channel or thread that holds the message
message_id *stringID of the message

discord_edit_message

Edit a message the bot sent: replace its content or embeds, add uploaded files, and change the description or spoiler flag of existing attachments. Existing attachments are always kept; they cannot be removed with this tool. Discord only lets a bot edit its own messages; to post a new message use discord_send_message. Returns the updated message. Bot permissions it may need: View Channel, Read Message History, Attach Files, Embed Links. Changes or removes existing Discord data without an approval prompt.

ParameterTypeDescription
channel_id *stringID of the channel or thread that holds the message
message_id *stringID of the message
add_filesarrayNew local files to upload and append to the message's existing attachments
allowed_mentionsobjectAllowed mentions object controlling which role, user, or @everyone pings produce notifications; defaults to no pings
contentstringMessage text, up to 2000 characters
embedsarrayUp to 10 rich embed objects; text across all embeds is limited to 6000 characters. Each object takes Discord embed fields such as title, description, url, color (integer), fields, author, footer, imag…
update_attachmentsarrayChanges to existing attachments, matched by attachment ID. Attachments not listed stay unchanged, and none are removed.

discord_end_poll

End a poll the bot created before its duration runs out. Discord does not let a bot end polls posted by other users. Returns the message with the poll; Discord finishes the final vote count in the background, so read the final tally later with discord_get_message once poll.results.is_finalized is true. Bot permissions it may need: View Channel. Changes or removes existing Discord data without an approval prompt.

ParameterTypeDescription
channel_id *stringID of the channel or thread that holds the message
message_id *stringID of the message

discord_get_message

Fetch one message by ID from a channel or thread, with its author, content, attachments, embeds, reactions and poll. Use it when you already have the message ID; to read recent history use discord_list_messages, and to find messages by text use discord_search_guild_messages. Bot permissions it may need: View Channel, Read Message History. Read-only; safe to retry.

ParameterTypeDescription
channel_id *stringID of the channel or thread that holds the message
message_id *stringID of the message

discord_get_my_user

Fetch the bot's own user object: id, username, global name, avatar, banner and flags. Use it to confirm which account the token belongs to; to look up any other user by ID use discord_get_user. Returns the user object. No special bot permissions. Read-only; safe to retry.

discord_get_thread_member

Fetch membership details for one user in a thread, including their join timestamp and flags. Fails with 404 if the user is not a member. Set with_member to true to include full guild member details. To list all members of a thread, use discord_list_thread_members. No special bot permissions. Read-only; safe to retry.

ParameterTypeDescription
channel_id *stringID of the thread to look up membership in
user_id *stringID of the user whose thread membership to check
with_memberbooleanWhether to include the full guild member object in the result (defaults to false)

discord_get_user

Fetch any Discord user by user ID: username, global name, avatar, banner, accent color and whether the account is a bot. Use it to resolve an ID taken from a message author, a mention or a poll voter; for the bot's own account use discord_get_my_user, and for guild data such as nickname, roles and join date use discord_get_guild_member (members toolset). Returns the user object. No special bot permissions. Read-only; safe to retry.

ParameterTypeDescription
user_id *stringID of the Discord user to fetch

discord_join_thread

Add the bot user to a thread. The thread must not be archived. To remove the bot from a thread, use discord_leave_thread; to add another user, use discord_add_thread_member. No special bot permissions. Changes Discord data; safe to retry.

ParameterTypeDescription
channel_id *stringID of the thread to join

discord_leave_guild

Remove the authenticated bot from a guild by server ID. The bot ceases to be a member immediately and requires a new invite URL with bot scopes to rejoin. Use this when the bot is instructed to depart a server; to kick another member use discord_delete_guild_member (members toolset). Returns deleted: true and the guild ID. No special bot permissions. Destructive: the user is asked to approve the exact change before it runs.

ParameterTypeDescription
guild_id *stringID of the guild to leave

discord_leave_thread

Remove the bot user from a thread. If the thread is private, the bot must be re-added or reinvited to rejoin. To join a thread, use discord_join_thread; to remove another user, use discord_delete_thread_member. No special bot permissions. Changes or removes existing Discord data without an approval prompt.

ParameterTypeDescription
channel_id *stringID of the thread to leave

discord_list_active_guild_threads

List every active (unarchived) thread in a guild, public and private, newest ID first. Returns threads and the bot's thread member entry for each one it has joined. To find archived threads use discord_list_public_archived_threads or discord_list_private_archived_threads. No special bot permissions. Read-only; safe to retry.

ParameterTypeDescription
guild_id *stringID of the guild to list active threads from

discord_list_message_reactions_by_emoji

List the users who reacted to a message with one emoji, ordered by user ID. Returns users and next_after; pass it as after to get the next page, and stop when a page comes back empty. To add the bot's own reaction, use discord_add_my_message_reaction. Bot permissions it may need: View Channel, Read Message History. Read-only; safe to retry.

ParameterTypeDescription
channel_id *stringID of the channel or thread holding the message
emoji *stringEmoji as a Unicode character ('👍') or its URL-encoded form ('%F0%9F%91%8D'), or a custom emoji as name:id ('party_blob:123456789012345678')
message_id *stringID of the message to target
afterstringGet users after this user ID for forward pagination
limitintegerMaximum number of users to return (1-100, defaults to 25)
typeReaction type filter: 0 for normal reactions, 1 for burst (super) reactions (defaults to 0)

discord_list_messages

List messages from a channel or thread, newest first. Provide before, after, or around snowflake IDs to paginate or center the search window. To fetch a specific message by ID use discord_get_message, and to search messages by text or author across an entire server use discord_search_guild_messages. Page older messages with before=next_before. Bot permissions it may need: View Channel, Read Message History. Read-only; safe to retry.

ParameterTypeDescription
channel_id *stringID of the channel or thread to list messages from
afterstringGet messages posted after this message snowflake ID (use next_after to page forward in time). Use only one of before, after or around
aroundstringGet messages centered around this message snowflake ID. Use only one of before, after or around
beforestringGet messages posted before this message snowflake ID (use next_before to page backward in time). Use only one of before, after or around
limitintegerMax number of messages to return (1-100; default is 50)

discord_list_my_connections

List the external accounts (for example GitHub, Twitch, YouTube, Steam) linked to the account behind the credential, with each connection's name, type, verified flag and visibility. Discord requires an OAuth2 token with the connections scope for this endpoint, so a plain bot token can be refused; to list the guilds the bot is in use discord_list_my_guilds. Returns the connections array. No special bot permissions. Read-only; safe to retry.

discord_list_my_guilds

List the Discord guilds (servers) the authenticated bot account belongs to. Use this to discover available guild IDs before calling guild-scoped tools, or to check membership counts. Page older results with before and newer results with after. Under DISCORD_MCP_ALLOWED_GUILDS, paging parameters must be omitted; every allowed guild is returned in a single call. Returns partial guild objects plus next_before and next_after cursors; both are set only when the page is full, so a full page can be followed by an empty one, and both are null when the page holds fewer guilds than limit. No special bot…

ParameterTypeDescription
afterstringGuild ID cursor to page forward; returns guilds with IDs larger than this snowflake. Omit when DISCORD_MCP_ALLOWED_GUILDS is set
beforestringGuild ID cursor to page backwards; returns guilds with IDs smaller than this snowflake. Omit when DISCORD_MCP_ALLOWED_GUILDS is set
limitintegerMaximum number of guilds to return (1 to 200, default 200). Omit when DISCORD_MCP_ALLOWED_GUILDS is set
with_countsbooleanWhether to include approximate_member_count and approximate_presence_count in response objects; defaults to false

discord_list_my_private_archived_threads

List private archived threads within a channel that the bot user has joined. Returns thread objects, thread member entries, and a next_before cursor. Page older threads in descending order using before=next_before. To list all private archived threads in the channel regardless of bot participation, use discord_list_private_archived_threads. Bot permissions it may need: Read Message History. Read-only; safe to retry.

ParameterTypeDescription
channel_id *stringID of the parent channel to list joined private archived threads from
beforestringThread ID snowflake cursor to return threads created before; page with next_before
limitintegerMaximum number of threads to return (2-100)

discord_list_pins

List the pinned messages of a channel or thread, newest pin first, each with its pin time. To pin a message use discord_create_pin, and to unpin use discord_delete_pin. Page with before=next_before while has_more is true. Bot permissions it may need: View Channel, Read Message History. Read-only; safe to retry.

ParameterTypeDescription
channel_id *stringID of the channel or thread to list pinned messages from
beforestringISO 8601 date and time with seconds, for example 2026-11-05T18:00:00Z; cursor to fetch pins created before this time (use next_before)
limitintegerMax number of pinned messages to return (1-50; default is 50)

discord_list_poll_answer_voters

Get a paginated list of users that voted for a specific answer on a poll message. Use it after fetching a poll message with discord_get_message to see who selected each answer. Page subsequent voters with after=next_after. Bot permissions it may need: View Channel, Read Message History. Read-only; safe to retry.

ParameterTypeDescription
answer_id *integerID of the poll answer to list voters for (answer_id is poll.answers[].answer_id on the message from discord_get_message)
channel_id *stringID of the channel or thread that holds the message
message_id *stringID of the message
afterstringUser snowflake ID cursor to fetch voters after (use next_after)
limitintegerMax number of voters to return (1-100; default is 25)

discord_list_private_archived_threads

List private archived threads in a channel. Returns thread objects, thread member entries, and a next_before cursor. Page older threads in descending order by archive timestamp using before=next_before. To list public archived threads instead, use discord_list_public_archived_threads. Bot permissions it may need: Read Message History, Manage Threads. Read-only; safe to retry.

ParameterTypeDescription
channel_id *stringID of the parent channel containing the private archived threads
beforestringISO 8601 timestamp cursor to return threads archived before this time; page with next_before
limitintegerMaximum number of threads to return (2-100)

discord_list_public_archived_threads

List public archived threads in a channel. Returns thread objects, thread member entries, and a next_before cursor. Page older threads in descending order by archive timestamp using before=next_before. To list private archived threads instead, use discord_list_private_archived_threads. Bot permissions it may need: Read Message History. Read-only; safe to retry.

ParameterTypeDescription
channel_id *stringID of the parent channel containing the public archived threads
beforestringISO 8601 timestamp cursor to return threads archived before this time; page with next_before
limitintegerMaximum number of threads to return (2-100)

discord_list_thread_members

List members of a thread. Note that after and limit only apply when with_member is true, and Discord restricts this endpoint by the Server Members privileged intent. Returns thread members and next_after; page forward using after=next_after and stop when a page comes back empty. To fetch a single member, use discord_get_thread_member. No special bot permissions. Read-only; safe to retry.

ParameterTypeDescription
channel_id *stringID of the thread whose members to list
afterstringUser ID snowflake cursor to return thread members after; only functional when with_member is true
limitintegerMaximum number of thread members to return (1-100, defaults to 100); only functional when with_member is true
with_memberbooleanWhether to include the full guild member object for each thread member (defaults to false)

discord_search_guild_messages

Search messages across a whole guild by text and filters (author, channel, mentions, attachments, links, embeds, pinned state, message ID range). Use discord_list_messages to read one channel in order. Results come back newest first by default; a page can hold fewer than limit, so page with offset=next_offset until it is null. A new or busy guild index can answer "not ready"; the tool then fails with a retryable error that carries the retry delay in seconds. Results omit reactions. Bot permissions it may need: View Channel, Read Message History. Read-only; safe to retry.

ParameterTypeDescription
guild_id *stringID of the guild to search messages in
attachment_extensionarrayFilter messages by file extension on attachments (e.g. 'png', 'pdf'; up to 100)
attachment_filenamearrayOnly messages with an attachment with one of these filenames (up to 100)
author_idarrayOnly messages from these user IDs (up to 100)
author_typearrayFilter by author type: 'user', 'bot', 'webhook', or negated with '-' prefix (e.g. '-bot')
channel_idarrayFilter messages within specific channel or thread IDs (up to 500)
contentstringFull-text query string to match inside message content
embed_providerarrayOnly messages with an embed from these providers, case-sensitive, for example 'Tenor' (up to 100)
embed_typearrayFilter messages containing specific embed types: 'image', 'video', 'gif', 'sound', 'article'
hasarrayFilter by media attachment or item presence (e.g. 'link', 'embed', 'file', 'image', 'video', 'sound', 'sticker', 'poll') or negate with '-' (e.g. '-poll')
include_nsfwbooleanWhether to include results from age-restricted (NSFW) channels (default false)
limitintegerMax number of message results per page (1-25; default is 25)
link_hostnamearrayOnly messages containing links to these domains (up to 100)
max_idstringMessage snowflake ID ceiling (only messages created before this snowflake ID)
mention_everyonebooleanFilter whether the message mentions @everyone or @here
mentionsarrayOnly messages that mention these user IDs (up to 100)
mentions_role_idarrayOnly messages that mention these role IDs (up to 100)
min_idstringMessage snowflake ID floor (only messages created after this snowflake ID)
offsetintegerPaging offset index into search results (use next_offset to page forward)
pinnedbooleanFilter only pinned messages when true, or unpinned when false
replied_to_message_idarrayOnly messages replying directly to these message IDs (up to 100)
replied_to_user_idarrayOnly messages sent in reply to these user IDs (up to 100)
slopintegerMax words allowed between matching words of content (0-100, default 2)
sort_bystringSort criterion for matching messages: 'timestamp' or 'relevance' (default 'timestamp')
sort_orderstringSort direction, 'asc' or 'desc' (default 'desc'). Ignored when sort_by is 'relevance'

discord_search_threads

Search threads in a channel by name, tags, and time bounds. New threads take about 30 seconds to appear in search results. Returns matched threads, first messages, and member objects. Page results with offset=next_offset. To browse active threads without indexing delays, use discord_list_active_guild_threads. Bot permissions it may need: Read Message History. Read-only; safe to retry.

ParameterTypeDescription
channel_id *stringID of the parent channel to search threads in
archivedbooleanFilter by archive state: true for archived only, false for active only
limitintegerMaximum number of threads to return per page (1-25)
max_idstringFilter threads created before this snowflake ID
min_idstringFilter threads created after this snowflake ID
namestringQuery string to search thread names for
offsetintegerOffset index into the search results for pagination; page with next_offset
slopintegerSlop parameter controlling phrase matching fuzziness (0-100)
sort_bystringField to sort results by
sort_orderstringSort direction
tagarrayFilter by up to 20 forum tag IDs applied to threads
tag_settingstringHow tag matches combine: 'match_all' requires a thread to have every tag in tag, 'match_some' requires at least one

discord_send_message

Send a message to a channel or thread. It can carry text, embeds, a poll, files from the local machine, a reply to an existing message, stickers (up to 3) and flags (suppress embeds, silent). At least one of content, embeds, sticker_ids, files or poll is required. Mentions do not ping unless allowed_mentions permits it. To change a message already sent use discord_edit_message. A retry without the same nonce posts a second message. Bot permissions it may need: View Channel, Send Messages, Attach Files, Embed Links, Send Polls, Send TTS Messages, Read Message History, Send Messages in Threads,…

ParameterTypeDescription
channel_id *stringID of the channel or thread to send the message in
allowed_mentionsobjectAllowed mentions object controlling which role, user, or @everyone pings produce notifications; defaults to no pings
contentstringMessage text, up to 2000 characters
embedsarrayUp to 10 rich embed objects; text across all embeds is limited to 6000 characters. Each object takes Discord embed fields such as title, description, url, color (integer), fields, author, footer, imag…
filesarrayLocal files to upload as message attachments
flagsintegerMessage flags bitfield. 4 suppresses link embeds, 4096 sends without push or desktop notifications; add them to set both (4100). No other flags are accepted.
message_referenceobjectMessage reference object for replying to an earlier message
noncestringPass the nonce from an uncertain result to retry without a duplicate
pollobjectPoll to create with the message
sticker_idsarrayArray of up to 3 sticker IDs to attach to the message
ttsbooleanWhether this message should be spoken using text-to-speech (default false)

discord_trigger_typing_indicator

Show the typing indicator in a channel or thread for 10 seconds, for a bot that needs a few seconds to prepare an answer. Discord advises most bots not to use it. To post the reply use discord_send_message. Bot permissions it may need: View Channel, Send Messages, Send Messages in Threads. Changes Discord data and is not idempotent; check the result before retrying.

ParameterTypeDescription
channel_id *stringID of the channel or thread to display typing indicator in

discord_update_my_user

Update the authenticated bot's global username, avatar image, or banner image. Changes apply globally across every server the bot is in. Changing the username can randomize the discriminator. To change the bot's nickname or avatar in one guild only, use discord_update_my_guild_member (members toolset). Returns the updated bot user object. No special bot permissions. Destructive: the user is asked to approve the exact change before it runs.

ParameterTypeDescription
avatarNew avatar image as a base64 data URI (png, jpeg, gif, webp), or null to clear avatar
bannerNew banner image as a base64 data URI (png, jpeg, gif, webp), or null to clear banner
usernamestringNew global username for the bot account (2 to 32 characters); cannot contain @, #, :, three backticks (```) or 'discord', and cannot be 'everyone' or 'here'