diff options
author | Nathan Ringo <nathan@remexre.com> | 2024-11-24 11:04:29 -0600 |
---|---|---|
committer | Nathan Ringo <nathan@remexre.com> | 2024-11-24 11:04:29 -0600 |
commit | 6704dcb51c9de5c66102600d06ffe637fd2db7c1 (patch) | |
tree | 15c9e68f9ee32146bbb007a355f4d911616db784 /src/main.rs | |
parent | dd0e6e45c35133ec8a3e2886b7b050484b388d03 (diff) |
Adds plugin to encourage the quitting of Twitter. Eh, it's a tradition at this point.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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, |