Prelude: fix prelude group

This commit is contained in:
Natsu Kagami 2020-09-02 16:50:17 -04:00
parent 0fefb455ea
commit 9a98193d1f
No known key found for this signature in database
GPG key ID: F17543D4B9424B94

View file

@ -41,8 +41,8 @@ pub mod prelude_commands {
#[command]
#[description = "pong!"]
fn ping(ctx: &mut Context, m: &Message) -> CommandResult {
m.reply(&ctx, "Pong!")?;
async fn ping(ctx: &Context, m: &Message) -> CommandResult {
m.reply(&ctx, "Pong!").await?;
Ok(())
}
}