Crate poise_macros

source ·
Expand description

Procedural macros used in poise, like command

Attribute Macros

  • This macro transforms plain functions into poise bot commands.

Derive Macros

  • Use this derive macro on an enum to easily generate a choice parameter type. A choice parameter is mainly useful in slash commands. It allows you to constrain input to a fixed set of choices.
  • See Modal trait documentation