Properties

Link copied to clipboard
Link copied to clipboard
abstract var defaultPermission: Boolean?
Link copied to clipboard
abstract override var description: String?

The default description.

Link copied to clipboard

A MutableMap containing localized versions of description.

Link copied to clipboard
abstract var dmPermission: Boolean?
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.

Link copied to clipboard

Functions

Link copied to clipboard
inline fun BaseInputChatBuilder.attachment(name: String, description: String, builder: AttachmentBuilder.() -> Unit = {})
Link copied to clipboard
inline fun BaseInputChatBuilder.boolean(name: String, description: String, builder: BooleanBuilder.() -> Unit = {})
Link copied to clipboard
inline fun BaseInputChatBuilder.channel(name: String, description: String, builder: ChannelBuilder.() -> Unit = {})
Link copied to clipboard
open fun description(locale: Locale, description: String)

Registers a localization of description in locale.

Link copied to clipboard
inline fun RootInputChatBuilder.group(name: String, description: String, builder: GroupCommandBuilder.() -> Unit = {})
Link copied to clipboard
inline fun BaseInputChatBuilder.integer(name: String, description: String, builder: IntegerOptionBuilder.() -> Unit = {})
Link copied to clipboard
inline fun BaseInputChatBuilder.mentionable(name: String, description: String, builder: MentionableBuilder.() -> Unit = {})
Link copied to clipboard
open fun name(locale: Locale, name: String)

Registers a localization of name in locale.

Link copied to clipboard
inline fun BaseInputChatBuilder.number(name: String, description: String, builder: NumberOptionBuilder.() -> Unit = {})
Link copied to clipboard
inline fun BaseInputChatBuilder.role(name: String, description: String, builder: RoleBuilder.() -> Unit = {})
Link copied to clipboard
inline fun BaseInputChatBuilder.string(name: String, description: String, builder: StringChoiceBuilder.() -> Unit = {})
Link copied to clipboard
inline fun RootInputChatBuilder.subCommand(name: String, description: String, builder: SubCommandBuilder.() -> Unit = {})
Link copied to clipboard
Link copied to clipboard
inline fun BaseInputChatBuilder.user(name: String, description: String, builder: UserBuilder.() -> Unit = {})