立即开始
Discord Bot Tools

Discordbot Create Guild Application Command

通过 Aident Loadout 使用 Discord Bot Tools 的 Discordbot Create Guild Application Command。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

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

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • 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

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源