今すぐ始める
Discord Bot Tools

Discordbot Create Guild Application Command

Aident Loadout を通じて Discord Bot Tools の Discordbot Create Guild Application Command を使用します。実行前に入力、出力、設定、料金、リスクを確認できます。

書き込み Actionリスクレベル 2/5OAuth 接続

プロバイダーの説明

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

料金と制限

料金
無料 Action
統合支払い
現在未対応

入力

  • namestring
    必須
    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
    必須
    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
    必須
    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.

確認できる出力

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

この Action を使用する Skills

関連ユースケース

検証済みの関連ユースケースはまだリンクされていません。

公式ソース

プロバイダーのソース