diff options
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -29,6 +29,10 @@ //! Frippy uses the [log](https://docs.rs/log) crate so you can log events //! which might be of interest. +#[cfg(feature = "mysql")] +#[macro_use] +extern crate diesel; + #[macro_use] extern crate frippy_derive; #[macro_use] @@ -37,12 +41,15 @@ extern crate lazy_static; extern crate log; extern crate irc; +extern crate chrono; +extern crate time; pub mod plugin; pub mod plugins; +pub mod utils; -use std::fmt; use std::collections::HashMap; +use std::fmt; use std::thread::spawn; use std::sync::Arc; @@ -138,7 +145,7 @@ impl Bot { Err(e) => return Err(format!("Failed to connect: {}", e)), }; - info!("Connected to server"); + info!("Connected to IRC server"); match client.identify() { Ok(_) => info!("Identified"), |
