2024-10-03 20:53:30 +00:00
|
|
|
use poise;
|
|
|
|
|
2025-01-09 17:57:42 +00:00
|
|
|
use crate::types::{Context, Error};
|
2024-10-03 20:53:30 +00:00
|
|
|
|
|
|
|
#[poise::command(
|
|
|
|
slash_command,
|
|
|
|
description_localized("en-US", "Make me say something!")
|
|
|
|
)]
|
|
|
|
pub async fn say(ctx: Context<'_>,
|
|
|
|
#[description = "What will you make me say this time? 🙃"]
|
|
|
|
message: String
|
|
|
|
) -> Result<(), Error> {
|
|
|
|
ctx.say(message).await?;
|
|
|
|
Ok(())
|
|
|
|
}
|