Module telexide::macros

source ·
Expand description

Macros for using the framework and helping with adding listeners

Macros

  • This macro creates the Framework object using the given bot name and registers all the given commands on it. Call it as in create_framework!("bot_name", command1, command2, ...)

Attribute Macros

  • A function attribute macro for making commands.
  • A function attribute macro for making event listeners easier.