From a9ad68463d8a9ed7fda24fbd032f537d9d8f80ba Mon Sep 17 00:00:00 2001 From: trivernis Date: Wed, 11 Aug 2021 19:46:18 +0200 Subject: [PATCH] Add nene command Signed-off-by: trivernis --- src/commands/weeb/hololive/mod.rs | 1 + src/commands/weeb/hololive/nene.rs | 17 +++++++++++++++++ src/commands/weeb/mod.rs | 3 ++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 src/commands/weeb/hololive/nene.rs diff --git a/src/commands/weeb/hololive/mod.rs b/src/commands/weeb/hololive/mod.rs index cfa16a9..e3127b9 100644 --- a/src/commands/weeb/hololive/mod.rs +++ b/src/commands/weeb/hololive/mod.rs @@ -6,6 +6,7 @@ pub mod inanis; pub mod korone; pub mod matsuri; pub mod miko; +pub mod nene; pub mod pekofy; pub mod polka; pub mod rushia; diff --git a/src/commands/weeb/hololive/nene.rs b/src/commands/weeb/hololive/nene.rs new file mode 100644 index 0000000..07a1d3d --- /dev/null +++ b/src/commands/weeb/hololive/nene.rs @@ -0,0 +1,17 @@ +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 nenechi")] +#[usage("")] +#[aliases( + "nenechi", "suzumomo", "supernenechi", + "super-hyper-ultra-ultimate-deluxe-perfect-amazing-shining-god-東方不敗-master-ginga-victory-strong-cute-beautiful-galaxy-baby-無限-無敵-無双-nenechi" +)] +#[bucket("general")] +async fn nene(ctx: &Context, msg: &Message) -> CommandResult { + post_random_media(ctx, msg, "nene").await +} diff --git a/src/commands/weeb/mod.rs b/src/commands/weeb/mod.rs index 9fe9e9f..54a1f44 100644 --- a/src/commands/weeb/mod.rs +++ b/src/commands/weeb/mod.rs @@ -12,6 +12,7 @@ use hololive::inanis::INANIS_COMMAND; use hololive::korone::KORONE_COMMAND; use hololive::matsuri::MATSURI_COMMAND; use hololive::miko::MIKO_COMMAND; +use hololive::nene::NENE_COMMAND; use hololive::pekofy::PEKOFY_COMMAND; use hololive::polka::POLKA_COMMAND; use hololive::rushia::RUSHIA_COMMAND; @@ -29,7 +30,7 @@ mod theme; #[group] #[commands( pekofy, sauce, matsuri, korone, rushia, fubuki, miko, theme, watame, inanis, gura, amelia, - haachama, polka + haachama, polka, nene )] pub struct Weeb;