Skip to content

Commit

Permalink
[fix] Remove unneeded intents
Browse files Browse the repository at this point in the history
  • Loading branch information
Blonteractor committed Jan 28, 2024
1 parent 218d847 commit d363570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async fn main() {
..Default::default()
})
.token(env::var("DISCORD_TOKEN").expect("missing DISCORD_TOKEN"))
.intents(serenity::GatewayIntents::all())
.intents(serenity::GatewayIntents::non_privileged())
.setup(|ctx, ready, framework| Box::pin(callbacks::on_ready(ctx, ready, framework)));

framework.run().await.expect("Failed to run framework");
Expand Down

0 comments on commit d363570

Please sign in to comment.