Move sauce and pekofy command to weeb group

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/10/head
trivernis 3 years ago
parent 8ed7cf90b3
commit 1bbbdc29f6
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -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)

@ -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;

@ -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;

@ -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;
Loading…
Cancel
Save