Interaction context(s) where the command can be used, only for globally-scoped commands. By default, all interaction context types included for new commands
[0,1,2]
.Use dm_permission and/or default_member_permissions instead
Deprecated
true
Localization dictionary for the description field. Values follow the same restrictions as description
Use contexts instead
Deprecated
Determines whether the interaction is handled by the app's interactions handler or by Discord
Remarks
This is only available for PrimaryEntryPoint commandsInstallation context(s) where the command is available, only for globally-scoped commands. Defaults to
GUILD_INSTALL ([0])
1-32 character name;
CHAT_INPUT
command names must be all lowercase matching ^[-_\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$
Type of the command