Package-level declarations

Types

Link copied to clipboard
class AttachmentBuilder(var name: String, var description: String) : OptionsBuilder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed interface BaseInputChatBuilder
Link copied to clipboard
class BooleanBuilder(var name: String, var description: String) : OptionsBuilder
Link copied to clipboard
class ChannelBuilder(var name: String, var description: String) : OptionsBuilder
Link copied to clipboard

Builder to register name localizations for a choice.

Link copied to clipboard
class GroupCommandBuilder(var name: String, var description: String) : BaseCommandOptionBuilder
Link copied to clipboard
Link copied to clipboard

Builder that has a localizable description.

Link copied to clipboard

Builder for creating an entity with a localized description.

Link copied to clipboard

Builder for modifying an entity with a localized description.

Link copied to clipboard

Builder that has a localizable name.

Link copied to clipboard

Builder for creating an entity with a localized name.

Link copied to clipboard

Builder for modifying an entity with a localized name.

Link copied to clipboard
class MentionableBuilder(var name: String, var description: String) : OptionsBuilder
Link copied to clipboard
class ModalBuilder(var title: String, var customId: String) : RequestBuilder<DiscordModal>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Builder for numeric options.

Link copied to clipboard
class RoleBuilder(var name: String, var description: String) : OptionsBuilder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class UserBuilder(var name: String, var description: String) : OptionsBuilder

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
inline fun RootInputChatBuilder.group(name: String, description: String, builder: GroupCommandBuilder.() -> Unit = {})
Link copied to clipboard
inline fun MultiApplicationCommandBuilder.input(name: String, description: String, builder: ChatInputCreateBuilder.() -> 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
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
inline fun BaseInputChatBuilder.user(name: String, description: String, builder: UserBuilder.() -> Unit = {})