diff --git a/youmubot-prelude/src/lib.rs b/youmubot-prelude/src/lib.rs index 2532a16..0a9c2e9 100644 --- a/youmubot-prelude/src/lib.rs +++ b/youmubot-prelude/src/lib.rs @@ -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(()) } }