permissions

This commit is contained in:
jude
2022-05-05 09:55:44 +01:00
parent 0df5466052
commit d82cbf2fd6
8 changed files with 475 additions and 321 deletions

View File

@ -145,11 +145,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
})
})
.options(options)
.client_settings(move |client_builder| {
client_builder
.intents(GatewayIntents::GUILD_VOICE_STATES | GatewayIntents::GUILDS)
.register_songbird()
})
.client_settings(move |client_builder| client_builder.register_songbird())
.intents(GatewayIntents::GUILD_VOICE_STATES | GatewayIntents::GUILDS)
.run_autosharded()
.await?;