refine shutup feature

This commit is contained in:
Watn3y 2023-03-05 05:08:34 +01:00
parent ed2d94f810
commit e0f0f2d282
7 changed files with 70 additions and 48 deletions

27
text/balonlyl/balonlyl.go Normal file
View file

@ -0,0 +1,27 @@
package balonlyl
import (
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
"watn3y/bloaterbotv3/botIO"
"watn3y/bloaterbotv3/config"
)
func Balonlyl(update tgbotapi.Update, bot *tgbotapi.BotAPI) {
/*balonlylLines := [4]string{
balonlylAT + " they're talking about you",
"Bitch " + balonlylAT + " they're shittalking you again",
"Bruh wtf " + balonlylAT + ", again",
balonlylAT + " look at these idiots",
}*/
message := tgbotapi.MessageConfig{
BaseChat: tgbotapi.BaseChat{ChatID: update.Message.Chat.ID, ReplyToMessageID: update.Message.MessageID},
ParseMode: "html",
DisableWebPagePreview: true,
//Text: balonlylLines[rand.Intn(len(balonlylLines))],
Text: config.BotConfig.Balonlyl.BalonlylAT,
}
botIO.SendMessage(message, bot)
}