From 23347ac85f222dcf5f99649f26fd72202cb4f193 Mon Sep 17 00:00:00 2001 From: lyx0 Date: Fri, 15 Oct 2021 18:25:17 +0200 Subject: [PATCH] fix pyramid replying with the right error message --- pkg/handlers/command.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/handlers/command.go b/pkg/handlers/command.go index 152de61..ae227e8 100644 --- a/pkg/handlers/command.go +++ b/pkg/handlers/command.go @@ -111,10 +111,8 @@ func HandleCommand(message twitch.PrivateMessage, twitchClient *twitch.Client, u case "pyramid": if msgLen != 3 { twitchClient.Say(message.Channel, "Usage: ()pyramid [size] [emote]") - return } else if utils.ElevatedPrivsMessage(message) { commands.Pyramid(message.Channel, cmdParams[1], cmdParams[2], twitchClient) - return } else { twitchClient.Say(message.Channel, "Pleb's can't pyramid FeelsBadMan") }