MentionableBuilder

class MentionableBuilder(var name: String, var description: String) : OptionsBuilder(source)

Constructors

Link copied to clipboard
constructor(name: String, description: String)

Properties

Link copied to clipboard

Setting this to true allows you to dynamically respond with your choices, depending on the user input.

Link copied to clipboard
Link copied to clipboard
open override var description: String

The default description.

Link copied to clipboard

A MutableMap containing localized versions of description.

Link copied to clipboard
open override var name: String

The default name.

Link copied to clipboard

A MutableMap containing localized versions of name.

Link copied to clipboard
Link copied to clipboard

Functions

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

Registers a localization of description in locale.

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

Registers a localization of name in locale.

Link copied to clipboard
open override fun toRequest(): ApplicationCommandOption