Properties

Link copied to clipboard

InteractionContextTypes the command is available in.

Link copied to clipboard
Link copied to clipboard
abstract var defaultPermission: Boolean?
Link copied to clipboard
abstract var dmPermission: Boolean?
Link copied to clipboard

IntegrationTypes the command is available in.

Link copied to clipboard
abstract override var name: String?

The default name.

Link copied to clipboard

A MutableMap containing localized versions of name.

Link copied to clipboard
abstract var nsfw: Boolean?

Indicates whether the command is age-restricted.

Functions

Link copied to clipboard
open fun name(locale: Locale, name: String)

Registers a localization of name in locale.

Link copied to clipboard
open fun requireContext(vararg types: InteractionContextType)

Requires this command to be executed in a specific interaction context.

Link copied to clipboard

Requires this command to be executed in a specific installation context.

Link copied to clipboard