Deps: Update Twilight -> v0.14

This commit is contained in:
Kyle Simpson
2022-11-20 17:46:11 +00:00
parent be3a4e9b24
commit 646190eaf8
7 changed files with 13 additions and 29 deletions

View File

@@ -94,8 +94,7 @@ async fn main() {
// Configure the client with your Discord bot token in the environment.
let token = env::var("DISCORD_TOKEN").expect("Expected a token in the environment");
let framework = StandardFramework::new()
.group(&GENERAL_GROUP);
let framework = StandardFramework::new().group(&GENERAL_GROUP);
framework.configure(|c| c.prefix("~"));
let intents = GatewayIntents::non_privileged() | GatewayIntents::MESSAGE_CONTENT;