package balonlyl

import (
	tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
	"log"
	"strconv"
	"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",
	}*/

	log.Println("[balonlyl] French detected in Chat: " + strconv.FormatInt(update.Message.Chat.ID, 10))
	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)
}