20 lines
501 B
Rust
20 lines
501 B
Rust
|
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(())
|
||
|
}
|