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
pub use super::client::Client;
pub use super::client::ClientBuilder;
pub use super::client::Context;
pub use super::framework::CommandResult;
pub use super::model::Message;
pub use super::model::Update;
pub use super::Error as TelexideError;
Macros
- This macro creates the
Framework
object using the given bot name and registers all the given commands on it. Call it as increate_framework!("bot_name", command1, command2, ...)
Attribute Macros
- A function attribute macro for making commands.
- A function attribute macro for making event listeners easier.