Chore: Fixup examples, bump version pre-push

Takes the chance to bring shared deps into the example workspace while we're here. Release notes, tags etc will follow in time.
This commit is contained in:
Kyle Simpson
2023-11-27 21:16:53 +00:00
parent 1ec569baf2
commit 22ceb175b6
11 changed files with 59 additions and 68 deletions

View File

@@ -28,6 +28,7 @@ use serenity::{
macros::{command, group},
Args,
CommandResult,
Configuration,
},
StandardFramework,
},
@@ -75,7 +76,7 @@ async fn main() {
let token = env::var("DISCORD_TOKEN").expect("Expected a token in the environment");
let framework = StandardFramework::new().group(&GENERAL_GROUP);
framework.configure(|c| c.prefix("~"));
framework.configure(Configuration::new().prefix("~"));
let intents = GatewayIntents::non_privileged() | GatewayIntents::MESSAGE_CONTENT;