From 6704dcb51c9de5c66102600d06ffe637fd2db7c1 Mon Sep 17 00:00:00 2001 From: Nathan Ringo Date: Sun, 24 Nov 2024 11:04:29 -0600 Subject: Adds plugin to encourage the quitting of Twitter. Eh, it's a tradition at this point. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index ed10360..3bceb37 100644 --- a/src/main.rs +++ b/src/main.rs @@ -74,7 +74,7 @@ async fn main() -> Result<()> { } // Start up the client. - let intents = GatewayIntents::default(); + let intents = GatewayIntents::default() | GatewayIntents::MESSAGE_CONTENT; Client::builder(&args.discord_token, intents) .event_handler(Handler::from(HandlerConfig { db_dir: args.db_dir, -- cgit v1.2.3