8 lines
170 B
Rust
8 lines
170 B
Rust
use crate::Context;
|
|
use crate::Error;
|
|
|
|
#[poise::command(prefix_command)]
|
|
pub async fn ping(ctx: Context<'_>) -> Result<(), Error> {
|
|
ctx.say("Pong!").await?;
|
|
Ok(())
|
|
}
|