actor_discord/lib.rs
1use actix_broker::SystemBroker;
2
3mod api;
4mod connection;
5pub mod discord;
6mod errors;
7mod intents;
8pub mod types;
9pub use api::DiscordAPI;
10pub use connection::DiscordBot;
11pub use intents::GatewayIntents;
12/// VERSION number of package
13pub const VERSION: Option<&'static str> = option_env!("CARGO_PKG_VERSION");
14/// NAME of package
15pub const NAME: Option<&'static str> = option_env!("CARGO_PKG_NAME");
16pub type BrokerType = SystemBroker;
17#[cfg(test)]
18mod tests {
19 #[test]
20 fn it_works() {
21 assert_eq!(2 + 2, 4);
22 }
23}