mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
fix pyramid replying with the right error message
This commit is contained in:
parent
0ff2b74239
commit
23347ac85f
|
@ -111,10 +111,8 @@ func HandleCommand(message twitch.PrivateMessage, twitchClient *twitch.Client, u
|
||||||
case "pyramid":
|
case "pyramid":
|
||||||
if msgLen != 3 {
|
if msgLen != 3 {
|
||||||
twitchClient.Say(message.Channel, "Usage: ()pyramid [size] [emote]")
|
twitchClient.Say(message.Channel, "Usage: ()pyramid [size] [emote]")
|
||||||
return
|
|
||||||
} else if utils.ElevatedPrivsMessage(message) {
|
} else if utils.ElevatedPrivsMessage(message) {
|
||||||
commands.Pyramid(message.Channel, cmdParams[1], cmdParams[2], twitchClient)
|
commands.Pyramid(message.Channel, cmdParams[1], cmdParams[2], twitchClient)
|
||||||
return
|
|
||||||
} else {
|
} else {
|
||||||
twitchClient.Say(message.Channel, "Pleb's can't pyramid FeelsBadMan")
|
twitchClient.Say(message.Channel, "Pleb's can't pyramid FeelsBadMan")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue