p4bl0t/src/main.rs
Lucien Cartier-Tilet 844940da00
chore: update bot framework
This commit updates the crate poise to its latest version
2024-01-18 20:47:37 +01:00

19 lines
304 B
Rust

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