Expand description
Plain data structs that define the framework configuration.
Structs§
- Application
Context - Application command specific context passed to command invocations.
- Command
- Type returned from
#[poise::command]
annotated functions, which contains all of the generated prefix and application commands - Command
Parameter - A single parameter of a
crate::Command
- Command
Parameter Choice - A single drop-down choice in a slash command choice parameter
- Framework
Options - Framework configuration
- Partial
Context - Trimmed down, more general version of
Context
- Prefix
Context - Prefix-specific context passed to command invocations.
- Prefix
Framework Options - Prefix-specific framework configuration
Enums§
- Command
Interaction Type - Specifies if the current invokation is from a Command or Autocomplete.
- Context
- Wrapper around either
crate::ApplicationContext
orcrate::PrefixContext
- Context
Menu Command Action - Possible actions that a context menu entry can have
- Framework
Error - Any error that can occur while the bot runs. Either thrown by user code (those variants will
have an
error
field with your error typeE
in it), or originating from within the framework. - Message
Dispatch Trigger - The event that triggered a prefix command execution
- Prefix
- Possible ways to define a command prefix