Module telexide::prelude

source ·
Expand description

A default set of exports which can be helpful to use.

note that TelexideError is a re-export of telexide::Error under a different name to remove likely ambiguity with other crate error enums.

Examples

Import all of the exports:

use telexide::prelude::*;

Re-exports

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.