From e325b1bbc0f620b436dc445ec29caa7ad448c9d7 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Thu, 11 Feb 2021 21:09:02 -0600 Subject: [PATCH] chore: rename RecruitmentCommands to Recruitment Achive this by renaming Recruitment (the trait) to RecruitmentTrait --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index d25c462..c075b7f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,5 @@ use bluearch_recruitment::banner::{Banner, BannerBuilder}; -use bluearch_recruitment::gacha::{GachaBuilder, Rarity, Recruitment}; +use bluearch_recruitment::gacha::{GachaBuilder, Rarity, Recruitment as RecruitmentTrait}; use bluearch_recruitment::i18n::Language; use bluearch_recruitment::student::Student; use dotenv::dotenv; @@ -29,7 +29,7 @@ struct General; #[group] #[commands(roll, banner, roll10)] -struct RecruitmentCommands; +struct Recruitment; struct Handler; @@ -60,7 +60,7 @@ async fn main() { let framework = StandardFramework::new() .configure(|c| c.prefix("!")) // set the bot's prefix to "!" .group(&GENERAL_GROUP) - .group(&RECRUITMENTCOMMANDS_GROUP) + .group(&RECRUITMENT_GROUP) .help(&MY_HELP); debug!("Initialized the StandardFramework struct");