Commencer maintenant
Discord Bot Tools

Discordbot Create Guild Application Command

Utilisez Discordbot Create Guild Application Command avec Discord Bot 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

Creates a new guild-specific application command. Command names must be unique per type within the guild (max 100 total commands).

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • namestring
    Obligatoire
    1-32 character command name. For CHAT_INPUT commands, must be lowercase.
  • typeinteger
    Command type: 1 (CHAT_INPUT, default), 2 (USER), 3 (MESSAGE).
  • optionsarray
    Array of command option objects (max 25).
  • guild_idstring
    Obligatoire
    The unique identifier (snowflake ID) of the guild.
  • descriptionstring
    1-100 character description for CHAT_INPUT commands. Empty string or omit for USER/MESSAGE.
  • dm_permissionboolean
    Whether the command is available in DMs. Only for globally-scoped commands.
  • application_idstring
    Obligatoire
    The unique identifier (snowflake ID) of the Discord application.
  • name_localizationsobject
    Localization dictionary mapping locale codes to localized names.
  • description_localizationsobject
    Localization dictionary mapping locale codes to localized descriptions.
  • default_member_permissionsstring
    Bitwise permission flags string. '0' disables for non-admins.

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