From cb5d3adf098217dc0661716c2b2f8a3c1d4d21af Mon Sep 17 00:00:00 2001 From: watn3y Date: Sat, 18 Mar 2023 23:27:50 +0000 Subject: [PATCH] Update 'commands/gaypoints/gaypoints.go' --- commands/gaypoints/gaypoints.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/gaypoints/gaypoints.go b/commands/gaypoints/gaypoints.go index a032cc2..4f5dd30 100644 --- a/commands/gaypoints/gaypoints.go +++ b/commands/gaypoints/gaypoints.go @@ -130,7 +130,7 @@ func SetGP(update tgbotapi.Update, bot *tgbotapi.BotAPI) { } } - if cmd == "subtracktgp" { + if cmd == "subtractgp" { currentPoints = sqlGetGP(update.Message.Chat.ID, update.Message.ReplyToMessage.From.ID) if currentPoints <= 0 { message := tgbotapi.MessageConfig{