Add fubuki command

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/26/head
trivernis 3 years ago
parent 6f58bd2fc1
commit 3aa831d6d1
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -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 fubuki")]
#[usage("")]
#[aliases("scatman")]
#[bucket("general")]
async fn fubuki(ctx: &Context, msg: &Message) -> CommandResult {
post_random_media(ctx, msg, "fubuki").await
}

@ -1,5 +1,6 @@
use serenity::framework::standard::macros::group;
mod fubuki;
mod korone;
mod matsuri;
mod pekofy;
@ -13,6 +14,7 @@ use serenity::client::Context;
use serenity::framework::standard::CommandResult;
use serenity::model::channel::Message;
use fubuki::FUBUKI_COMMAND;
use korone::KORONE_COMMAND;
use matsuri::MATSURI_COMMAND;
use pekofy::PEKOFY_COMMAND;
@ -20,7 +22,7 @@ use rushia::RUSHIA_COMMAND;
use sauce::SAUCE_COMMAND;
#[group]
#[commands(pekofy, sauce, matsuri, korone, rushia)]
#[commands(pekofy, sauce, matsuri, korone, rushia, fubuki)]
pub struct Weeb;
/// Posts a random media entry with the given category

Loading…
Cancel
Save