Alita_Robot
Alita_Robot copied to clipboard
[BUG]
I am sure the error is coming from Bot's code and not elsewhere.
- [X] I am sure the error is coming from Bot's code and not elsewhere.
- [ ] I have searched in the issue tracker for similar bug reports, including closed ones.
- [ ] I ran
go run main.go
in the project root and reproduced the issue using the latest development version. - [ ] I am not here to spam and show that I'm stupid.
Reproduction steps
1.Languages
2.Modules Buttons
3.shutting down herself
4.Greetings
...
1. we face this error(we don't know how to get logs) when we enabled locales, but sometime our languages selectable options not appear, also when they appear nothing is work when we click no respond from bot and it poupup this in our terminal -> github.com/PaulSonOfLars/gotgbot/v2/ext/handlers.CallbackQuery.HandleUpdate(...)
/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/handlers/callbackquery.go:25
github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).iterateOverHandlerGroups(0x4000191c20, 0x0?, 0x1?)
/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:270 +0x134
github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).ProcessUpdate(0x4000191c20, 0x40001a4e00, 0x500?, 0x78b0c0?)
/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:256 +0x8c
github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).ProcessRawUpdate(0x0?, 0x40005aa4e0?, {0x40002d0f00, 0x4b9, 0x500})
/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:234 +0xac
github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).Start.func1({0x40002d0f00?, 0x78244?, 0x0?})
/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:191 +0x6c
created by github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).Start
/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:181 +0x34
and for second : when we try to enabled more languages like ENABLED_LOCALES="mz en hi" with comma and without commas, it's not work too.
2. Modules button like Reports and other modules button(Not all of them) is not work too, when we click Reports also some button too, ther's no respond, i think this is from dispatcher or update...calbackquery i'm not sure.
3.when we run/deployed bot from it work without problems, but a few hours or days, sometime after we deployed and run perfectly, bot shutting down it self, we need to re-Deployed always.
4.when we try to set custom welcome message, bot not respond, in some group we can set but without long message, sometime bot doesn't greet new member too! and there's ,ore little bugs as well.
we hope this bugs(error?) will fix later,
thanks in advance.
### Error Traceback
_No response_