From ac30024c406dec6a98377c7fa6af89737c7f7942 Mon Sep 17 00:00:00 2001 From: Valentine Briese Date: Tue, 7 May 2024 16:36:30 -0700 Subject: [PATCH] ACTUALLY restrict `/strike` commands WHOOPS FRICK HOW DID I MISS THAT --- src/strike.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/strike.rs b/src/strike.rs index 855737e..8279a4b 100644 --- a/src/strike.rs +++ b/src/strike.rs @@ -161,6 +161,8 @@ async fn history( "You must have the `BAN_MEMBERS` permission to view other members' strike history.", ) .await?; + + return Ok(()); } ctx.defer_ephemeral().await?; @@ -283,6 +285,8 @@ async fn total( { ctx.say("You must have the `BAN_MEMBERS` permission to view other members' strike total.") .await?; + + return Ok(()); } // /\