mirror of
https://github.com/eRgo35/lyra.git
synced 2026-02-04 12:26:10 +01:00
19 lines
484 B
Rust
19 lines
484 B
Rust
use owoify::OwOifiable;
|
|
use poise::CreateReply;
|
|
|
|
use crate::{commands::embeds::embed, Context, Error};
|
|
|
|
/// Owoifies whatever you want uwu
|
|
#[poise::command(prefix_command, slash_command, category = "Tools")]
|
|
pub async fn owoify(
|
|
ctx: Context<'_>,
|
|
#[description = "Text to owoify w-woify OwO"]
|
|
#[rest]
|
|
text: String,
|
|
) -> Result<(), Error> {
|
|
ctx.send(CreateReply::default().embed(embed(ctx, "OwO", &text.owoify(), "").await.unwrap()))
|
|
.await?;
|
|
|
|
Ok(())
|
|
}
|