ChatInputCreateBuilder
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The default description.
Link copied to clipboard
A MutableMap containing localized versions of description.
Link copied to clipboard
A MutableMap containing localized versions of name.
Link copied to clipboard
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
Registers a localization of description in locale.
Link copied to clipboard
Disables the command for everyone except admins by default.
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
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 = {})