Discord Bot Tools
Discordbot Create Application Command
通过 Aident Loadout 使用 Discord Bot Tools 的 Discordbot Create Application Command。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 2/5OAuth 连接
服务提供商说明
Creates a new global Discord application command. Global commands can take up to an hour to propagate. Command names must be unique per type within the application scope.
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- 1-32 character command name. For CHAT_INPUT commands, must be lowercase.namestring必填
- Command type: 1 (CHAT_INPUT, default), 2 (USER), 3 (MESSAGE).typeinteger
- Array of command option objects (max 25). Each must have name, description, and type fields.optionsarray
- 1-100 character description for CHAT_INPUT commands. Empty string or omit for USER/MESSAGE commands.descriptionstring
- Whether the command is available in DMs (global commands only). Defaults to true.dm_permissionboolean
- The unique identifier (snowflake ID) of the Discord application.application_idstring必填
- Localization dictionary mapping locale codes to localized names (1-32 chars each).name_localizationsobject
- Localization dictionary mapping locale codes to localized descriptions (1-100 chars each).description_localizationsobject
- Bitwise permission flags string a member needs. '0' disables for non-admins. Null allows everyone.default_member_permissionsstring
可观察输出
- Data from the action executiondata必填
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulboolean必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。