From 0e7a4d02de7556d0fb4225d4a92ad7aedbdf1c59 Mon Sep 17 00:00:00 2001 From: jude Date: Fri, 13 May 2022 14:21:34 +0100 Subject: [PATCH] ? --- src/main.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 0ed6be5..3ab72b2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -419,15 +419,13 @@ async fn main() -> Result<(), Box> { let mut client = Client::builder( &token, if dm_enabled { - GatewayIntents::MESSAGE_CONTENT - | GatewayIntents::GUILD_MESSAGES + GatewayIntents::GUILD_MESSAGES | GatewayIntents::GUILDS | GatewayIntents::GUILD_MESSAGE_REACTIONS | GatewayIntents::DIRECT_MESSAGES | GatewayIntents::DIRECT_MESSAGE_REACTIONS } else { - GatewayIntents::MESSAGE_CONTENT - | GatewayIntents::GUILD_MESSAGES + GatewayIntents::GUILD_MESSAGES | GatewayIntents::GUILDS | GatewayIntents::GUILD_MESSAGE_REACTIONS },