refactor(src): cargo format on main.rs

This commit is contained in:
Raphael 2026-02-25 21:56:16 +01:00
parent 5c2ff8b926
commit 43c081cc31
No known key found for this signature in database

View file

@ -5,22 +5,22 @@ mod events;
mod models;
mod utils;
use dotenvy::dotenv;
use events::Bot;
use serenity::all::*;
use serenity::Client;
use serenity::all::GatewayIntents;
use sqlx::postgres::PgPoolOptions;
use sqlx::{Pool, Postgres, migrate};
use std::env;
use tracing::{
info,
error
};
use tracing::{error, info};
use tracing_subscriber::fmt;
use self::config::emoji::EmojiConfig;
#[tokio::main]
async fn main() {
tracing_subscriber::fmt::init();
dotenvy::dotenv().ok();
fmt::init();
dotenv().ok();
let token: String =
env::var("DISCORD_TOKEN").expect("❌ | DISCORD_TOKEN missing (check the env file)");