logging improvements

This commit is contained in:
Watn3y 2023-03-05 05:45:36 +01:00
parent c63dbc666d
commit 6a31972ad0
8 changed files with 35 additions and 15 deletions

View file

@ -2,6 +2,8 @@ package balonlyl
import (
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
"log"
"strconv"
"watn3y/bloaterbotv3/botIO"
"watn3y/bloaterbotv3/config"
)
@ -15,6 +17,7 @@ func Balonlyl(update tgbotapi.Update, bot *tgbotapi.BotAPI) {
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",