p4bl0t/src/main.rs

19 lines
291 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 bot = discord::make_bot();
2023-11-22 21:38:21 +01:00
bot.run().await?;
Ok(())
}