We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go run main.go
/paste
2024/08/21 08:07:38 Failed to process update: panic recovered: interface conversion: interface {} is nil, not map[string]interface {} /root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:344 +0x17 github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).ProcessUpdate.func1() /root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:282 +0x78 panic({0xb1d8a0?, 0xc000132bd0?}) /usr/local/go1.23.0.linux-amd64/src/runtime/panic.go:785 +0x132 github.com/divideprojects/Alita_Robot/alita/utils/helpers.PasteToNekoBin({0xc00051a480, 0x162}) /root/Haotogel-Assistant/alita/utils/helpers/helpers.go:392 +0x4c5 github.com/divideprojects/Alita_Robot/alita/modules.moduleStruct.paste({{0xc04be2, 0x4}, 0x0, 0x0, 0x0, {0x0, 0x0}, 0x0, 0x0, 0x0, ...}, ...) /root/Haotogel-Assistant/alita/modules/misc.go:245 +0x8f9 github.com/PaulSonOfLars/gotgbot/v2/ext/handlers.Command.HandleUpdate(...) /root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/handlers/command.go:88 github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).iterateOverHandlerGroups(0xc0000b8000, 0xc0000b8280, 0xc0003b44e0) /root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:302 +0x14c github.com/PaulSonOfLars/gotgbot/v2/ext.BaseProcessor.ProcessUpdate(...) /root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/processor.go:20 github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).ProcessUpdate(0xc0000b8000, 0xc0000b8280, 0x480?, 0xb04b00?) /root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:288 +0x90 github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).processRawUpdate(0xc0000b8000, 0xc0000b8280, {0xc0004b3200, 0x41e, 0x480}) /root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:265 +0xaf github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).Start.func1({0xc0004b3200?, 0xc0001db0a0?, 0xc00023eee0?}) /root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:213 +0x65 created by github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).Start in goroutine 67 /root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:203 +0x51
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am sure the error is coming from Bot's code and not elsewhere.
go run main.go
in the project root and reproduced the issue using the latest development version.Reproduction steps
Error Traceback
2024/08/21 08:07:38 Failed to process update: panic recovered: interface conversion: interface {} is nil, not map[string]interface {} /root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:344 +0x17 github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).ProcessUpdate.func1() /root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:282 +0x78 panic({0xb1d8a0?, 0xc000132bd0?}) /usr/local/go1.23.0.linux-amd64/src/runtime/panic.go:785 +0x132 github.com/divideprojects/Alita_Robot/alita/utils/helpers.PasteToNekoBin({0xc00051a480, 0x162}) /root/Haotogel-Assistant/alita/utils/helpers/helpers.go:392 +0x4c5 github.com/divideprojects/Alita_Robot/alita/modules.moduleStruct.paste({{0xc04be2, 0x4}, 0x0, 0x0, 0x0, {0x0, 0x0}, 0x0, 0x0, 0x0, ...}, ...) /root/Haotogel-Assistant/alita/modules/misc.go:245 +0x8f9 github.com/PaulSonOfLars/gotgbot/v2/ext/handlers.Command.HandleUpdate(...)
/root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/handlers/command.go:88
github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).iterateOverHandlerGroups(0xc0000b8000, 0xc0000b8280, 0xc0003b44e0)
/root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:302 +0x14c
github.com/PaulSonOfLars/gotgbot/v2/ext.BaseProcessor.ProcessUpdate(...)
/root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/processor.go:20
github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).ProcessUpdate(0xc0000b8000, 0xc0000b8280, 0x480?, 0xb04b00?)
/root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:288 +0x90
github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).processRawUpdate(0xc0000b8000, 0xc0000b8280, {0xc0004b3200, 0x41e, 0x480})
/root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:265 +0xaf
github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).Start.func1({0xc0004b3200?, 0xc0001db0a0?, 0xc00023eee0?})
/root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:213 +0x65
created by github.com/PaulSonOfLars/gotgbot/v2/ext.(*Dispatcher).Start in goroutine 67
/root/go/pkg/mod/github.com/!paul!son!of!lars/gotgbot/[email protected]/ext/dispatcher.go:203 +0x51
The text was updated successfully, but these errors were encountered: