diff --git a/src/handlers.rs b/src/handlers.rs index 5485a73..492af52 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -25,14 +25,14 @@ pub async fn handle_msg(ctx: &serenity::Context, msg: &serenity::Message) -> Res if uusr.is_none() { - let _ = msg.reply(&ctx.http, "Failed to create ID for you, please contact a sysadmin."); + let _ = msg.reply(&ctx.http, "Failed to create ID for you, please contact a sysadmin.").await; return Ok(()) } } let mut usr = uusr.unwrap(); if usr.is_banned { - let _ = msg.reply(&ctx.http, "You have been banned from using this bot."); + let _ = msg.reply(&ctx.http, "You have been banned from using this bot.").await; return Ok(()) }