p4bl0t/src/main.rs

19 lines
304 B
Rust
Raw Normal View History

#![warn(clippy::style, clippy::pedantic)]
2023-11-22 21:38:21 +01:00
mod db;
mod discord;
mod utils;
2023-11-22 21:38:21 +01:00
use std::error::Error;
#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
utils::setup_logging();
color_eyre::install()?;
2023-11-22 21:38:21 +01:00
let mut bot = discord::make_bot().await?;
bot.start().await?;
2023-11-22 21:38:21 +01:00
Ok(())
}