feat(main): adding default Gateway to the bot

This commit is contained in:
Raphael 2026-02-12 20:27:56 +01:00
parent e3834bd289
commit f8cdacbd49
No known key found for this signature in database

View file

@ -12,7 +12,7 @@ async fn main() {
let token: String = let token: String =
env::var("DISCORD_TOKEN").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::default();
let bot: Bot = Bot { let bot: Bot = Bot {
commands: commands::import(), commands: commands::import(),