El catálogo/Discord

Discord

app.discord

Manage guilds, channels, messages, roles, and moderation in Discord

OAuth 2communicationLeer el código
Versión2.0.0
Categoríacommunication
AutenticaciónOAuth 2
Herramientas22
Transportestdio
LicenciaMIT
01

Qué hace

La aplicación, en sus propias palabras.

Full Discord integration: guilds, channels, messages, members, roles, webhooks, reactions, and moderation. Uses Discord REST API v10 with OAuth 2.0 / Bot Token.

discordmessagingchatguildservercommunityvoicemoderation
02

Herramientas

22 herramientas que el agente puede llamar.

Todas se declaran con parámetros tipados y devuelven resultados estructurados, así que el anfitrión puede renderizarlas en vez de narrarlas.

  • add-reactionAdd a reaction (emoji) to a message. Use Unicode emoji or custom emoji format name:id.
  • assign-roleAdd a role to a guild member. Requires Manage Roles permission with the bot's role above the target role.
  • ban-memberBan a member from a guild. Optionally delete their message history. Requires Ban Members permission.
  • create-channelCreate a new channel in a guild. Supports text, voice, category, announcement, and forum channels.
  • create-roleCreate a new role in a guild. Requires Manage Roles permission.
  • create-webhookCreate a new webhook in a channel. Requires Manage Webhooks permission. Returns the webhook token for sending messages.
  • delete-channelDelete a channel or close a DM. Requires Manage Channels permission for guild channels.
  • delete-messageDelete a message from a channel. Requires Manage Messages permission if not the message author.
  • get-channelGet detailed information about a specific channel by ID.
  • get-guildGet detailed information about a specific guild (server) by ID.
  • get-memberGet a specific guild member by user ID.
  • kick-memberKick a member from a guild. Requires Kick Members permission.
  • list-channelsList channels in a guild. Returns text, voice, category, and other channel types.
  • list-guildsList guilds (servers) the bot/user is a member of. Supports pagination.
  • list-membersList members of a guild. Supports pagination via limit and after user ID.
  • list-messagesList messages in a channel. Supports pagination via before/after/around message IDs.
  • list-rolesList all roles in a guild, ordered by position (highest first).
  • list-webhooksList webhooks in a guild or channel. Requires Manage Webhooks permission.
  • remove-roleRemove a role from a guild member. Requires Manage Roles permission.
  • send-messageSend a message to a Discord channel. Supports text, embeds, mentions, and replies.
  • send-webhook-messageSend a message via a webhook using the webhook URL. Supports text, embeds, and usernames.
  • timeout-memberTimeout (mute) a guild member for a specified duration. Requires Moderate Members permission.
03

Autenticación y permisos

Qué pide.

Declarado en el manifiesto y por adelantado. La aplicación no puede alcanzar nada que no haya pedido aquí.

Permisos

identifyguildsguilds.members.readbotmessages.readapplications.commands

Secretos de sistema

CLIENT_IDCLIENT_SECRET

Secretos de usuario

ACCESS_TOKENREFRESH_TOKEN

Seguir leyendo

El manifiesto y el código de Discord están en el monorepo, junto al resto de aplicaciones.

Leer el códigoVolver al catálogo

Discord · Agent Apps