RootCommand

Represents an invocation of a root command.

The root command is the first command defined in a slash-command structure.

See here for more information about sub-commands and groups.

Constructors

Link copied to clipboard
constructor(data: ApplicationInteractionData, kord: Kord)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val data: ApplicationInteractionData
Link copied to clipboard
open val integers: Map<String, Long>
Link copied to clipboard
open override val kord: Kord

The kord instance that created this object.

Link copied to clipboard
open val members: Map<String, Member>
Link copied to clipboard
Link copied to clipboard
open val numbers: Map<String, Double>
Link copied to clipboard
open override val options: Map<String, OptionValue<*>>

The values passed to the command.

Link copied to clipboard
Link copied to clipboard
open val roles: Map<String, Role>
Link copied to clipboard
open val rootId: Snowflake

The id of the root command.

Link copied to clipboard
open val rootName: String

The name of the root command.

Link copied to clipboard
open val strings: Map<String, String>
Link copied to clipboard
open val users: Map<String, User>