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]
|
#[tokio::main]
|
||||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
dotenvy::dotenv()?;
|
dotenvy::dotenv()?;
|
||||||
|
pretty_env_logger::init();
|
||||||
let config = Config::init_from_env()?;
|
let config = Config::init_from_env()?;
|
||||||
|
|
||||||
let mut bc = BotController::new(&config).await?;
|
let mut bc = BotController::new(&config).await?;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user