Types

Link copied to clipboard
data class AttachmentArgument(val name: String, val value: Snowflake, val focused: OptionalBoolean = OptionalBoolean.Missing) : CommandArgument<Snowflake>
Link copied to clipboard
data class AutoCompleteArgument(val name: String, val type: ApplicationCommandOptionType, val value: String, val focused: OptionalBoolean) : CommandArgument<String>

Representation of a partial user input of an auto completed argument.

Link copied to clipboard
data class BooleanArgument(val name: String, val value: Boolean, val focused: OptionalBoolean = OptionalBoolean.Missing) : CommandArgument<Boolean>
Link copied to clipboard
data class ChannelArgument(val name: String, val value: Snowflake, val focused: OptionalBoolean = OptionalBoolean.Missing) : CommandArgument<Snowflake>
Link copied to clipboard
data class IntegerArgument(val name: String, val value: Long, val focused: OptionalBoolean = OptionalBoolean.Missing) : CommandArgument<Long>
Link copied to clipboard
data class MentionableArgument(val name: String, val value: Snowflake, val focused: OptionalBoolean = OptionalBoolean.Missing) : CommandArgument<Snowflake>
Link copied to clipboard
data class NumberArgument(val name: String, val value: Double, val focused: OptionalBoolean = OptionalBoolean.Missing) : CommandArgument<Double>
Link copied to clipboard
data class RoleArgument(val name: String, val value: Snowflake, val focused: OptionalBoolean = OptionalBoolean.Missing) : CommandArgument<Snowflake>
Link copied to clipboard
data class StringArgument(val name: String, val value: String, val focused: OptionalBoolean = OptionalBoolean.Missing) : CommandArgument<String>
Link copied to clipboard
data class UserArgument(val name: String, val value: Snowflake, val focused: OptionalBoolean = OptionalBoolean.Missing) : CommandArgument<Snowflake>

Properties

Link copied to clipboard
abstract val focused: OptionalBoolean
Link copied to clipboard
abstract val name: String
Link copied to clipboard
Link copied to clipboard
abstract val value: T