SlashOption

class SlashOption(val name: String, val description: String, val type: SlashOptionType, val required: Boolean = false)(source)

Constructors

Link copied to clipboard
constructor(name: String, description: String, type: SlashOptionType, required: Boolean = false)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun toJson(): JsonNode

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val required: Boolean = false
Link copied to clipboard