fixes some lint errors

This commit is contained in:
stefanodvx 2025-04-16 17:03:16 +02:00
parent 5ccf4e6168
commit 12c12e53f7
16 changed files with 108 additions and 93 deletions

View file

@ -17,7 +17,7 @@ import (
"github.com/PaulSonOfLars/gotgbot/v2/ext/handlers/filters/inlinequery"
)
var AllowedUpdates = []string{
var allowedUpdates = []string{
"message",
"callback_query",
"inline_query",
@ -69,7 +69,7 @@ func Start() {
RequestOpts: &gotgbot.RequestOpts{
Timeout: time.Second * 10,
},
AllowedUpdates: AllowedUpdates,
AllowedUpdates: allowedUpdates,
},
})
if err != nil {