init pretty_env_logger
This commit is contained in:
parent
0d4e2a8fcd
commit
88360c91ca
@ -116,6 +116,7 @@ impl std::fmt::Display for BotError {
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
dotenvy::dotenv()?;
|
||||
pretty_env_logger::init();
|
||||
let config = Config::init_from_env()?;
|
||||
|
||||
let mut bc = BotController::new(&config).await?;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user