We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42c6a5a commit 7450c60Copy full SHA for 7450c60
src/main.rs
@@ -216,16 +216,13 @@ async fn app() -> Result<(), Error> {
216
217
cmds.add("?help", Command::help());
218
219
- let mut client = Client::builder(
220
- &config.discord_token,
221
- GatewayIntents::default().union(GatewayIntents::MESSAGE_CONTENT),
222
- )
223
- .event_handler(Events {
224
- http: Arc::new(HttpClient::new()),
225
- db: pool.clone(),
226
- cmds: Arc::new(cmds),
227
- })
228
- .await?;
+ let mut client = Client::builder(&config.discord_token, GatewayIntents::all())
+ .event_handler(Events {
+ http: Arc::new(HttpClient::new()),
+ db: pool.clone(),
+ cmds: Arc::new(cmds),
+ })
+ .await?;
229
230
client.start().await?;
231
0 commit comments