From fe55fcdb75359d84d60cd00b6a076193632bf298 Mon Sep 17 00:00:00 2001 From: trivernis Date: Wed, 25 Aug 2021 17:04:46 +0200 Subject: [PATCH] Add mumei command Signed-off-by: trivernis --- src/commands/weeb/hololive/kronii.rs | 2 +- src/commands/weeb/hololive/mod.rs | 1 + src/commands/weeb/hololive/mumei.rs | 14 ++++++++++++++ src/commands/weeb/mod.rs | 3 ++- 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 src/commands/weeb/hololive/mumei.rs diff --git a/src/commands/weeb/hololive/kronii.rs b/src/commands/weeb/hololive/kronii.rs index 7572251..d1492d2 100644 --- a/src/commands/weeb/hololive/kronii.rs +++ b/src/commands/weeb/hololive/kronii.rs @@ -7,7 +7,7 @@ use serenity::model::channel::Message; #[command] #[description("Posts a random kronii gif")] #[usage("")] -#[aliases("ouro", "kroniicopter", "fan")] +#[aliases("ouro", "kroniicopter", "fan", "timelord")] #[bucket("general")] async fn kronii(ctx: &Context, msg: &Message) -> CommandResult { post_random_media(ctx, msg, "kronii").await diff --git a/src/commands/weeb/hololive/mod.rs b/src/commands/weeb/hololive/mod.rs index ab54d68..9ca0cf1 100644 --- a/src/commands/weeb/hololive/mod.rs +++ b/src/commands/weeb/hololive/mod.rs @@ -7,6 +7,7 @@ pub mod korone; pub mod kronii; pub mod matsuri; pub mod miko; +pub mod mumei; pub mod nene; pub mod pekofy; pub mod polka; diff --git a/src/commands/weeb/hololive/mumei.rs b/src/commands/weeb/hololive/mumei.rs new file mode 100644 index 0000000..3054a59 --- /dev/null +++ b/src/commands/weeb/hololive/mumei.rs @@ -0,0 +1,14 @@ +use crate::commands::weeb::post_random_media; +use serenity::client::Context; +use serenity::framework::standard::macros::command; +use serenity::framework::standard::CommandResult; +use serenity::model::channel::Message; + +#[command] +#[description("Posts a random mumei gif")] +#[usage("")] +#[aliases("mumei", "forgowl", "owl", "nanashi")] +#[bucket("general")] +async fn mumei(ctx: &Context, msg: &Message) -> CommandResult { + post_random_media(ctx, msg, "mumei").await +} diff --git a/src/commands/weeb/mod.rs b/src/commands/weeb/mod.rs index d2494ff..daf1bf1 100644 --- a/src/commands/weeb/mod.rs +++ b/src/commands/weeb/mod.rs @@ -13,6 +13,7 @@ use hololive::korone::KORONE_COMMAND; use hololive::kronii::KRONII_COMMAND; use hololive::matsuri::MATSURI_COMMAND; use hololive::miko::MIKO_COMMAND; +use hololive::mumei::MUMEI_COMMAND; use hololive::nene::NENE_COMMAND; use hololive::pekofy::PEKOFY_COMMAND; use hololive::polka::POLKA_COMMAND; @@ -31,7 +32,7 @@ mod theme; #[group] #[commands( pekofy, sauce, matsuri, korone, rushia, fubuki, miko, theme, watame, inanis, gura, amelia, - haachama, polka, nene, kronii + haachama, polka, nene, kronii, mumei )] pub struct Weeb;