Update 'commands/gaypoints/gaypoints.go'

This commit is contained in:
watn3y 2023-03-18 23:27:50 +00:00
parent 6115e09602
commit cb5d3adf09

View file

@ -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{