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:
@@ -33,6 +33,7 @@ use serenity::{
|
||||
macros::{command, group},
|
||||
Args,
|
||||
CommandResult,
|
||||
Configuration,
|
||||
},
|
||||
StandardFramework,
|
||||
},
|
||||
@@ -68,7 +69,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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user