diff options
| author | Max Audron <audron@cocaine.farm> | 2021-10-20 17:17:08 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2021-10-20 17:36:48 +0200 |
| commit | 45dab968221976d915fabf5ea279e6078cfe9591 (patch) | |
| tree | d7dfa39ae9f7112973aeb97d21522145ada3d387 /src/main.rs | |
| parent | add async docs to macro crate and bump version (diff) | |
prepare for release on crates.io
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index f5f0e84..747948e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,10 +1,10 @@ #[tokio::main] async fn main() { - use catinator::catinator; + use catinator::{catinator}; tracing_subscriber::fmt::init(); - let mut bot = Bot::new().await.unwrap(); + let mut bot = catinator::Bot::new().await.unwrap(); let mut sed = catinator::hooks::sed::Sed::new(); let wolfram_alpha = catinator::hooks::wolfram_alpha::WolframAlpha::new(&bot) |
