From 0ff9aa434058b4ea8afe102c947730377609443d Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 13 Feb 2026 19:52:28 +0100 Subject: [PATCH] style(main): adding the indentation for align all GatewayIntent --- src/main.rs | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/main.rs b/src/main.rs index a4cc9e3..01d207c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,8 @@ mod commands; +mod database; mod events; +mod models; +mod utils; use events::Bot; use serenity::all::*; @@ -32,18 +35,18 @@ async fn main() { println!("✅ | Migrations applied\n"); let intents: GatewayIntents = GatewayIntents::AUTO_MODERATION_CONFIGURATION - | GatewayIntents::AUTO_MODERATION_EXECUTION - | GatewayIntents::DIRECT_MESSAGE_REACTIONS - | GatewayIntents::DIRECT_MESSAGES - | GatewayIntents::GUILD_INVITES - | GatewayIntents::GUILD_MEMBERS - | GatewayIntents::GUILD_MESSAGE_REACTIONS - | GatewayIntents::GUILD_MESSAGE_TYPING - | GatewayIntents::GUILD_MESSAGES - | GatewayIntents::GUILD_MODERATION - | GatewayIntents::GUILD_VOICE_STATES - | GatewayIntents::GUILDS - | GatewayIntents::MESSAGE_CONTENT; + | GatewayIntents::AUTO_MODERATION_EXECUTION + | GatewayIntents::DIRECT_MESSAGE_REACTIONS + | GatewayIntents::DIRECT_MESSAGES + | GatewayIntents::GUILD_INVITES + | GatewayIntents::GUILD_MEMBERS + | GatewayIntents::GUILD_MESSAGE_REACTIONS + | GatewayIntents::GUILD_MESSAGE_TYPING + | GatewayIntents::GUILD_MESSAGES + | GatewayIntents::GUILD_MODERATION + | GatewayIntents::GUILD_VOICE_STATES + | GatewayIntents::GUILDS + | GatewayIntents::MESSAGE_CONTENT; let bot: Bot = Bot { commands: commands::import(),