added proper logging to most of the code
This commit is contained in:
parent
65c6020e49
commit
7d4c9c5ab9
21 changed files with 218 additions and 283 deletions
|
@ -2,27 +2,17 @@ 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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue