moover_rust/src/commands/moover/gif.rs

20 lines
501 B
Rust
Raw Normal View History

2025-01-24 20:52:13 +00:00
use poise;
use serenity::all::{Embed, User};
use crate::types::{Error, Context};
#[poise::command(
slash_command,
description_localized("en-US", "Send a gif from Tenor")
)]
pub async fn gif(ctx: Context<'_>,
#[description = "What should I search?"]
what: String,
#[description = "Should the gif be R-rated?"]
contentfilter: String
) -> Result<(), Error> {
// let embed;
// send_with_embed(ctx, "hug", &title, &desc).await?;
ctx.reply("Done!").await?;
Ok(())
}