Skip to main content

Module command

Module command 

Source
Expand description

Used for building commands to send to Discord.

It is highly recommended to use the associated CommandBuilder in the twilight-util to create Commands; CommandOption is especially verbose.

Modules§

permissions
Limit who and where commands can be executed.

Structs§

Command
Data sent to Discord to create a command.
CommandOption
Option for a Command.
CommandOptionChoice
A predetermined choice users can select.

Enums§

CommandOptionChoiceValue
Value of a CommandOptionChoice.
CommandOptionType
Type of a CommandOption.
CommandOptionValue
Type used in the max_value and min_value CommandOption field.
CommandType