diff --git a/src/commands/ping.rs b/src/commands/ping.rs new file mode 100644 index 0000000..f25f1d0 --- /dev/null +++ b/src/commands/ping.rs @@ -0,0 +1,8 @@ +use crate::{Context, Error}; + +/// Replies with a pong +#[poise::command(slash_command, prefix_command)] +pub async fn ping(ctx: Context<'_>) -> Result<(), Error> { + ctx.say("Pong!️ 🏓").await?; + Ok(()) +}