Crate command_attr

source ·

Attribute Macros

  • A macro for marking a function as a condition checker to groups and commands.
  • The heart of the attribute-based framework.
  • Create a grouping of commands.
  • A brother macro to command, but for the help command. An interface for simple browsing of all the available commands the bot provides, and reading through specific information regarding a command.
  • A macro that transforms async functions (and closures) into plain functions, whose return type is a boxed Future.