Moved logging away for handling extarnally

This commit is contained in:
2023-01-24 01:08:24 +03:00
parent 599584ea58
commit d797a52029
3 changed files with 39 additions and 3 deletions

3
bot.go
View File

@ -21,9 +21,6 @@ type bot struct {
func DefaultHandler(u *Update) error {
err := u.Bot.state.Call(u)
if err != nil {
u.LogError("", err, true)
}
return err
}