Discord Bot Tools
Discordbot Create Application Command
Aident Loadout के माध्यम से Discord Bot Tools के साथ Discordbot Create Application Command का उपयोग करें। चलाने से पहले इनपुट, आउटपुट, सेटअप, मूल्य और जोखिम देखें।
राइट Actionजोखिम स्तर 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.
मूल्य और सीमाएँ
- मूल्य
- मुफ़्त Action
- एकीकृत भुगतान
- अभी समर्थित नहीं
इनपुट
- 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आवश्यक
इस Action का उपयोग करने वाली Skills
संबंधित उपयोग के मामले
अभी कोई सत्यापित संबंधित उपयोग मामला लिंक नहीं है।