diff --git a/src/actions/ban.rs b/src/actions/ban.rs index 0b44fa6..61679d1 100644 --- a/src/actions/ban.rs +++ b/src/actions/ban.rs @@ -26,7 +26,7 @@ pub async fn ban_member( let user_id: i64 = match user.get_id() { Some(id) => id, - None => return Ok(EventReturn::Skip) + None => return Ok(EventReturn::Skip), }; let callback = || async { bot.send(BanChatMember::new(chat_id, user_id)).await }; diff --git a/src/actions/mute.rs b/src/actions/mute.rs index f91edcf..7bf79bd 100644 --- a/src/actions/mute.rs +++ b/src/actions/mute.rs @@ -27,7 +27,7 @@ pub async fn mute_member( let user_id: i64 = match user.get_id() { Some(id) => id, - None => return Ok(EventReturn::Skip) + None => return Ok(EventReturn::Skip), }; sleep(Duration::from_millis(time.1)).await;