diff --git a/bloater.webp b/bloater.webp new file mode 100644 index 0000000..385083d Binary files /dev/null and b/bloater.webp differ diff --git a/botIO/sending.go b/botIO/sending.go index 3dd2c21..29c75ff 100644 --- a/botIO/sending.go +++ b/botIO/sending.go @@ -13,3 +13,12 @@ func SendMessage(message tgbotapi.MessageConfig, bot *tgbotapi.BotAPI) { } log.Printf("[bot] Sent Message: %s", message.Text) } + +func SendSticker(sticker tgbotapi.StickerConfig, bot *tgbotapi.BotAPI) { + _, err := bot.Send(sticker) + if err != nil { + log.Printf("Failed to send Sticker: %v\n", err) + return + } + log.Printf("[bot] Sent Sticker") +} diff --git a/commands/gaypoints/gaypoints.go b/commands/gaypoints/gaypoints.go index 2441d4e..500c0a1 100644 --- a/commands/gaypoints/gaypoints.go +++ b/commands/gaypoints/gaypoints.go @@ -70,14 +70,13 @@ func SetGP(update tgbotapi.Update, bot *tgbotapi.BotAPI) { } if !commonlogic.ContainsInt64(config.BotConfig.GayPoints.ModifyUsers, update.Message.From.ID) { - message := tgbotapi.MessageConfig{ - BaseChat: tgbotapi.BaseChat{ChatID: update.Message.Chat.ID, ReplyToMessageID: update.Message.MessageID}, - ParseMode: "html", - DisableWebPagePreview: false, - Text: "Who the fuck do you think you are telling me what to do?", - } - botIO.SendMessage(message, bot) + sticker := tgbotapi.StickerConfig{BaseFile: tgbotapi.BaseFile{ + BaseChat: tgbotapi.BaseChat{ChatID: update.Message.Chat.ID, ReplyToMessageID: update.Message.MessageID}, + File: tgbotapi.FilePath("bloater.webp"), + }} + botIO.SendSticker(sticker, bot) return + } cmd := strings.ToLower(update.Message.Command())