fixes some lint errors
This commit is contained in:
parent
5ccf4e6168
commit
12c12e53f7
16 changed files with 108 additions and 93 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue