Optional
contextsOptional
defaultThe default member permissions for the command.
Optional
dmIf the command can be used in a DM.
Use contexts instead.
Optional
idThe ID of the command, if known. (Only usable when bulkEditing guild commands.)
Optional
integrationThe install contexts where the command is available. Defaults to GUILD_INSTALL.
Optional
nameThe name of the command.
Optional
nameA dictionary of locales to localized names.
Optional
nsfwWhether the command is age restricted.
The interaction contexts where the command can be used. Defaults to all interaction context types for new commands.