mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-19 16:58:55 +00:00
Prelude: fix prelude group
This commit is contained in:
parent
0fefb455ea
commit
9a98193d1f
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ pub mod prelude_commands {
|
||||||
|
|
||||||
#[command]
|
#[command]
|
||||||
#[description = "pong!"]
|
#[description = "pong!"]
|
||||||
fn ping(ctx: &mut Context, m: &Message) -> CommandResult {
|
async fn ping(ctx: &Context, m: &Message) -> CommandResult {
|
||||||
m.reply(&ctx, "Pong!")?;
|
m.reply(&ctx, "Pong!").await?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue