diff --git a/src/commands/weeb/mod.rs b/src/commands/weeb/mod.rs index 918ac95..f908311 100644 --- a/src/commands/weeb/mod.rs +++ b/src/commands/weeb/mod.rs @@ -3,6 +3,7 @@ use serenity::framework::standard::macros::group; mod korone; mod matsuri; mod pekofy; +mod rushia; mod sauce; use crate::utils::context_data::get_database_from_context; @@ -15,10 +16,11 @@ use serenity::model::channel::Message; use korone::KORONE_COMMAND; use matsuri::MATSURI_COMMAND; use pekofy::PEKOFY_COMMAND; +use rushia::RUSHIA_COMMAND; use sauce::SAUCE_COMMAND; #[group] -#[commands(pekofy, sauce, matsuri, korone)] +#[commands(pekofy, sauce, matsuri, korone, rushia)] pub struct Weeb; /// Posts a random media entry with the given category diff --git a/src/commands/weeb/rushia.rs b/src/commands/weeb/rushia.rs new file mode 100644 index 0000000..f6ae14d --- /dev/null +++ b/src/commands/weeb/rushia.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 rushia")] +#[usage("")] +#[aliases("cuttingboard", "cutting-board", "petan")] +#[bucket("general")] +async fn rushia(ctx: &Context, msg: &Message) -> CommandResult { + post_random_media(ctx, msg, "rushia").await +}