Crate serenity_commands
source ·Expand description
A library for intuitively creating commands for use with the serenity
Discord library.
Enums
- An error which can occur when extracting data from a command interaction.
Traits
- A top-level command for use with
CommandData. The command may contain regular options, sub-commands, and sub-command groups. - A top-level utility structure which can list all of its commands (for use with
GuildId::set_commands, etc.) and extract data fromCommandInteractions. - A sub-command or sub-command group which can be nested within other
CommandOptions orCommands.
Type Aliases
- A type alias for
Results which use [Error] as the error type.
Derive Macros
- Derive the
Commandtrait. - Derive the
CommandDatatrait. - Derive the
CommandOptiontrait.