No custom OAuth app setup required. Sign in or provide your credentials to connect.
Authentication: bot token. See Magic Link for the runtime auth flow.
Sample use cases
- Summarize the last 24 hours of messages in the
#supportchannel - Post the weekly release notes to
#announcementsand pin the message - Open a thread on a bug report message and add the on-call engineer to it
Available Tools
List every channel and category in a server.
Fetch one channel or thread by ID, including its permission overwrites and, for forum channels, the available_tags needed by create_thread.
Create a channel in a server. Requires the Manage Channels permission.
Modify a channel or thread: rename it, change its topic, slowmode, category, or voice settings, or archive and lock a thread.
Delete a channel, or delete a thread. Requires Manage Channels, or Manage Threads for a thread.
Set a role’s or member’s permission override on a channel, using permission names rather than raw bitfields.
Remove a role’s or member’s permission override from a channel, so they fall back to the category and server defaults.
Show the bot’s typing indicator in a channel for about 10 seconds.
Follow an announcement channel so its published messages are crossposted into one of your own channels.
List the servers the bot has been added to.
Fetch one server’s settings by ID. Use list_guilds to find server IDs.
Read a server’s audit log to see who performed moderation and configuration actions.
List a server’s custom emojis. Call this before create_reaction to get each emoji’s reaction_format (‘name:id’), which is the form the reaction tools need.
List every active invite for a server, with use counts and expiry.
List the active invites pointing at one channel.
Look up an invite by its code to see which server and channel it leads to.
Create an invite link to a channel. Requires the Create Instant Invite permission. Use list_guild_channels for…
Revoke an invite so it can no longer be used.
List a server’s members in ID order. Requires the Guild Members privileged intent, enabled on the Bot tab of your application.
Find server members whose username or nickname starts with a string.
Fetch one member’s server profile: nickname, roles, join date, and timeout state.
Change a member’s nickname, roles, voice state, or timeout.
Kick a member from a server. Requires the Kick Members permission.
Give a member one role, leaving their other roles alone.
Take one role away from a member, leaving their other roles alone.
Change the bot’s own nickname or bio in a server.
Read a channel’s or thread’s message history, newest first.
Fetch one message by ID, including its reaction tallies.
Post a message to a channel, thread, or DM channel.
Edit a message the bot itself sent. Content and embeds of another user’s message cannot be edited by any token.
Permanently delete one message. Deleting another user’s message requires the Manage Messages permission.
Delete 2 to 100 messages from a guild channel in one call.
Search a server’s messages by content, channel, author, mentions, or attachment type.
Publish a message from an announcement channel to every server following it.
List a channel’s pinned messages, most recently pinned first.
Pin a message in its channel. Requires the Pin Messages permission.
Remove a message from its channel’s pins.
List a server’s bans, each with the banned user and the reason recorded.
Check whether one user is banned from a server, and read the recorded reason.
Ban a user from a server, optionally deleting their recent messages.
Lift a server ban so the user can be invited back.
React to a message as the bot. Pass a standard emoji character, or ‘name:id’ for a custom server emoji , use list_guild_emojis to get the ‘name:id’ form.
Remove the bot’s own reaction from a message.
Remove one specific user’s reaction from a message.
List the users who reacted to a message with a given emoji.
Clear reactions from a message. Pass an emoji to clear just that one, or leave it null to clear every reaction.
List every Discord permission name, with its bit and what it allows.
List a server’s roles, each with its permissions decoded into names.
Fetch one role by ID, with its permissions decoded into names.
Create a role in a server. Requires the Manage Roles permission.
Modify a role’s name, colour, or permissions.
Delete a role from a server. Requires Manage Roles, and the role must sit below the bot’s own highest role.
Start a thread attached to an existing message, so the thread appears under it.
Open a thread in a text channel, or a post in a forum or media channel.
List every thread in a server that is not archived, across all channels.
List archived threads under a channel, most recently archived first.
List the users who have joined a thread.
Add a user to a thread. The bot must be able to see the thread, and the user must be a member of the server.
Remove a user from a thread. Requires Manage Threads, unless the thread is private and the bot created it.
Fetch the account the credential authenticates as, which for a bot token is the bot itself.
Fetch a user’s global Discord account by ID.
Open a direct message channel with a user, or return the existing one.
List the webhooks configured on a channel, including each one’s token.
Create a webhook on a channel so an external system can post to it without a bot token.
Delete a webhook, immediately breaking anything posting through it.
Post a message through a webhook, optionally under a custom name and avatar.