Commencer maintenant
Discord Tools

Discord Edit Application Command Permissions

Utilisez Discord Edit Application Command Permissions avec Discord Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion OAuth

Description du fournisseur

Edits the permissions for a specific application command in a guild. Requires OAuth2 Bearer token (bot tokens will error). The authorizing user must have MANAGE_GUILD and MANAGE_ROLES permissions in the target guild.

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • guild_idstring
    Obligatoire
    The unique identifier (snowflake ID) of the guild.
  • command_idstring
    Obligatoire
    The unique identifier (snowflake ID) of the application command.
  • permissionsarray
    Obligatoire
    List of permission overrides to set for the command in the guild.
  • application_idstring
    Obligatoire
    The unique identifier (snowflake ID) of the application.

Sortie observable

  • data
    Obligatoire
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Obligatoire
    Whether or not the action execution was successful or not

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur