# Discord integration

> Communication platform API for managing servers, channels, messages, threads, and webhooks.

- Authentication: oauth2

## Tools (66)

- **Add Reaction**: Add a reaction emoji to a message as the current user.
- **Add Role to Member**: Assign a role to a guild member.
- **Add Thread Member**: Add another user to a thread.
- **Ban a User**: Ban a user from a guild, optionally deleting their recent messages.
- **Bulk Delete Messages**: Delete multiple messages at once (2–100). Will not delete messages older than 2 weeks.
- **Create a Guild Channel**: Create a new channel in a guild.
- **Create a Webhook**: Create a new webhook for a channel.
- **Create Role**: Create a new role in a guild.
- **Create Thread**: Create a thread without a parent message, or a forum/media post with an initial message.
- **Create Thread from Message**: Create a new thread from an existing message.
- **Crosspost a Message**: Publish a message in an announcement channel to all following channels.
- **Delete a Channel**: Delete a channel or close a DM. Cannot be undone for guild channels.
- **Delete All Reactions**: Remove all reactions from a message.
- **Delete All Reactions for Emoji**: Remove all reactions of a specific emoji from a message.
- **Delete a Message**: Delete a message.
- **Delete a Webhook**: Delete a webhook by ID (auth) or by ID + token (no auth).
- **Delete Channel Permission**: Delete a channel permission overwrite for a user or role.
- **Delete Role**: Delete a guild role.
- **Delete Webhook Message**: Delete a previously-sent webhook message.
- **Edit a Message**: Edit a previously-sent message.
- **Edit Channel Permissions**: Create or update a permission overwrite for a user or role in a channel.
- **Edit Webhook Message**: Edit a previously-sent webhook message.
- **Execute a Webhook**: Send a message via a webhook.
- **Get a Channel**: Retrieve a channel by its ID.
- **Get a Guild**: Retrieve a guild by its ID.
- **Get a Guild Member**: Retrieve a specific member of a guild.
- **Get a Message**: Retrieve a specific message from a channel.
- **Get a Webhook**: Retrieve a webhook by its ID.
- **Get Channel Messages**: Retrieve messages from a channel.
- **Get Channel Webhooks**: List all webhooks for a channel.
- **Get Current User**: Retrieve the OAuth2 user (username, avatar, email with the email scope). The core Bearer-token identity endpoint.
- **Get Current User Connections**: List the OAuth2 user's linked third-party accounts (Twitch, YouTube, etc.).
- **Get Current User Guild Member**: Retrieve the OAuth2 user's member object (nickname, roles, join date) in a specific guild.
- **Get Current User Guilds**: List the servers (guilds) the OAuth2 user is a member of.
- **Get Guild Bans**: List banned users in a guild.
- **Get Guild Channels**: List all channels in a guild (excludes threads).
- **Get Guild Role Member Counts**: Get the number of members per role in a guild.
- **Get Guild Roles**: List all roles in a guild.
- **Get Guild Webhooks**: List all webhooks in a guild.
- **Get Pinned Messages**: List all pinned messages in a channel.
- **Get Reactions**: List users who reacted to a message with a specific emoji.
- **Get Webhook Message**: Retrieve a previously-sent webhook message.
- **Join Thread**: Add the current user to a thread.
- **Kick a Member**: Remove (kick) a member from a guild.
- **Leave Guild**: Remove the current user from a guild (server).
- **Leave Thread**: Remove the current user from a thread.
- **List Active Guild Threads**: List all active threads in a guild.
- **List Archived Threads**: List archived public or private threads in a channel.
- **List Guild Members**: List members of a guild (paginated).
- **List Thread Members**: List members of a thread.
- **Modify a Webhook**: Modify a webhook by ID (auth) or by ID + token (no auth).
- **Modify Guild Member**: Update a guild member's nickname, roles, voice state, or timeout.
- **Modify Role**: Modify a guild role.
- **Pin a Message**: Pin a message in a channel.
- **Remove Own Reaction**: Remove a reaction the current user has made on a message.
- **Remove Role from Member**: Remove a role from a guild member.
- **Remove Thread Member**: Remove a user from a thread.
- **Remove User Reaction**: Remove another user's reaction from a message.
- **Search Guild Members**: Search guild members by username or nickname prefix.
- **Search Guild Messages**: Search for messages across a guild.
- **Send a Message**: Send a message to a channel.
- **Trigger Typing Indicator**: Fire a typing indicator in a channel.
- **Unban a User**: Remove a guild ban.
- **Unpin a Message**: Unpin a message from a channel.
- **Update a Channel**: Modify a channel's settings.
- **Update Current User Application Role Connection**: Update the OAuth2 user's linked-role connection metadata for the application.

## Related prompts

- [Match-day fantasy football injury and lineup brief](https://www.generalinput.com/prompts/match-day-fantasy-football-injury-and-lineup-brief.md)
- [Weekly Discord community pulse digest](https://www.generalinput.com/prompts/weekly-discord-community-pulse-digest.md)
- [Announce new GitHub releases in Discord](https://www.generalinput.com/prompts/announce-new-github-releases-in-discord.md)
- [Route Typeform feedback into the right Discord channel](https://www.generalinput.com/prompts/route-typeform-feedback-into-the-right-discord-channel.md)
- [Announce new YouTube uploads in Discord](https://www.generalinput.com/prompts/announce-new-youtube-uploads-in-discord.md)

Connect Discord in General Input: https://www.generalinput.com/apps/discord