diff --git a/src/client.rs b/src/client.rs index 572302f..93f27eb 100644 --- a/src/client.rs +++ b/src/client.rs @@ -58,6 +58,7 @@ pub async fn get_framework() -> StandardFramework { .group(&MISC_GROUP) .group(&MUSIC_GROUP) .group(&SETTINGS_GROUP) + .group(&WEEB_GROUP) .after(after_hook) .before(before_hook) .on_dispatch_error(dispatch_error) diff --git a/src/commands/misc/mod.rs b/src/commands/misc/mod.rs index 455de87..3dbb480 100644 --- a/src/commands/misc/mod.rs +++ b/src/commands/misc/mod.rs @@ -1,10 +1,8 @@ use serenity::framework::standard::macros::group; use about::ABOUT_COMMAND; -use pekofy::PEKOFY_COMMAND; use ping::PING_COMMAND; use qalc::QALC_COMMAND; -use sauce::SAUCE_COMMAND; use shutdown::SHUTDOWN_COMMAND; use stats::STATS_COMMAND; use time::TIME_COMMAND; @@ -12,15 +10,13 @@ use timezones::TIMEZONES_COMMAND; mod about; pub(crate) mod help; -mod pekofy; mod ping; mod qalc; -mod sauce; mod shutdown; mod stats; mod time; mod timezones; #[group] -#[commands(ping, stats, shutdown, pekofy, time, timezones, qalc, sauce, about)] +#[commands(ping, stats, shutdown, time, timezones, qalc, about)] pub struct Misc; diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 6bafd62..8f0cf9a 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -3,9 +3,11 @@ pub use misc::help::HELP; pub use misc::MISC_GROUP; pub use music::MUSIC_GROUP; pub use settings::SETTINGS_GROUP; +pub use weeb::WEEB_GROUP; mod common; pub(crate) mod minecraft; pub(crate) mod misc; pub(crate) mod music; pub(crate) mod settings; +pub(crate) mod weeb; diff --git a/src/commands/weeb/mod.rs b/src/commands/weeb/mod.rs new file mode 100644 index 0000000..e7a7e4b --- /dev/null +++ b/src/commands/weeb/mod.rs @@ -0,0 +1,11 @@ +use serenity::framework::standard::macros::group; + +mod pekofy; +mod sauce; + +use pekofy::PEKOFY_COMMAND; +use sauce::SAUCE_COMMAND; + +#[group] +#[commands(pekofy, sauce)] +pub struct Weeb; diff --git a/src/commands/misc/pekofy.rs b/src/commands/weeb/pekofy.rs similarity index 100% rename from src/commands/misc/pekofy.rs rename to src/commands/weeb/pekofy.rs diff --git a/src/commands/misc/sauce.rs b/src/commands/weeb/sauce.rs similarity index 100% rename from src/commands/misc/sauce.rs rename to src/commands/weeb/sauce.rs