refactor(src/main): passing the rustfmt

This commit is contained in:
Raphael 2026-02-12 16:27:40 +01:00
parent 64bd073b02
commit 3004d99444
No known key found for this signature in database

View file

@ -1,8 +1,8 @@
mod commands; mod commands;
mod events; mod events;
use events::Bot;
use commands::all_commands; use commands::all_commands;
use events::Bot;
use serenity::all::*; use serenity::all::*;
use std::env; use std::env;
@ -10,8 +10,8 @@ use std::env;
async fn main() { async fn main() {
dotenvy::dotenv().ok(); dotenvy::dotenv().ok();
let token: String = env::var("DISCORD_TOKEN") let token: String =
.expect("❌ | DISCORD_TOKEN missing (check the env file)"); env::var("DISCORD_TOKEN").expect("❌ | DISCORD_TOKEN missing (check the env file)");
let intents: GatewayIntents = GatewayIntents::empty(); let intents: GatewayIntents = GatewayIntents::empty();