logging improvements
This commit is contained in:
parent
c63dbc666d
commit
6a31972ad0
8 changed files with 35 additions and 15 deletions
|
@ -10,4 +10,5 @@ func SendMessage(message tgbotapi.MessageConfig, bot *tgbotapi.BotAPI) {
|
|||
if err != nil {
|
||||
log.Printf("Failed to send message: %v\n", err)
|
||||
}
|
||||
log.Printf("[bot] Sent Message: %s", message.Text)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue