chore: rename RecruitmentCommands to Recruitment
Achive this by renaming Recruitment (the trait) to RecruitmentTrait
This commit is contained in:
parent
6911517efa
commit
e325b1bbc0
|
@ -1,5 +1,5 @@
|
||||||
use bluearch_recruitment::banner::{Banner, BannerBuilder};
|
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::i18n::Language;
|
||||||
use bluearch_recruitment::student::Student;
|
use bluearch_recruitment::student::Student;
|
||||||
use dotenv::dotenv;
|
use dotenv::dotenv;
|
||||||
|
@ -29,7 +29,7 @@ struct General;
|
||||||
|
|
||||||
#[group]
|
#[group]
|
||||||
#[commands(roll, banner, roll10)]
|
#[commands(roll, banner, roll10)]
|
||||||
struct RecruitmentCommands;
|
struct Recruitment;
|
||||||
|
|
||||||
struct Handler;
|
struct Handler;
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ async fn main() {
|
||||||
let framework = StandardFramework::new()
|
let framework = StandardFramework::new()
|
||||||
.configure(|c| c.prefix("!")) // set the bot's prefix to "!"
|
.configure(|c| c.prefix("!")) // set the bot's prefix to "!"
|
||||||
.group(&GENERAL_GROUP)
|
.group(&GENERAL_GROUP)
|
||||||
.group(&RECRUITMENTCOMMANDS_GROUP)
|
.group(&RECRUITMENT_GROUP)
|
||||||
.help(&MY_HELP);
|
.help(&MY_HELP);
|
||||||
|
|
||||||
debug!("Initialized the StandardFramework struct");
|
debug!("Initialized the StandardFramework struct");
|
||||||
|
|
Loading…
Reference in New Issue