Skip to content
New issue

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

error #450

Open
1 of 4 tasks
Twilight-Killer opened this issue Aug 21, 2024 · 0 comments
Open
1 of 4 tasks

error #450

Twilight-Killer opened this issue Aug 21, 2024 · 0 comments

Comments

@Twilight-Killer
Copy link

I am sure the error is coming from Bot's code and not elsewhere.

  • 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

/paste

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant