View Single Post
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 11-21-2019 , 13:36   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #202

Quote:
Originally Posted by Lucky_luck View Post
i have this error

Code:
WARN[0109]                                               error="HTTP 404 Not Found, {\"message\": \"404: Not Found\", \"code\": 0}"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8b274c]

goroutine 35 [running]:
github.com/rumblefrog/source-chat-relay/server/bot.Auth.func1(0xc000288230)
        /home/travis/gopath/src/github.com/rumblefrog/source-chat-relay/server/bot/auth.go:18 +0x16c
github.com/Necroforger/dgrouter/exrouter.WrapHandler.func1(0x991900, 0xc000288230)
        /home/travis/gopath/src/github.com/Necroforger/dgrouter/exrouter/router_wrapper.go:128 +0x40
github.com/Necroforger/dgrouter/exrouter.WrapMiddleware.func1.1(0x991900, 0xc000288230)
        /home/travis/gopath/src/github.com/Necroforger/dgrouter/exrouter/router_wrapper.go:55 +0x71
github.com/Necroforger/dgrouter/exrouter.(*Route).FindAndExecute(0xc00000e510, 0xc0000a9900, 0x9e97d0, 0x2, 0xc0000b1ac0, 0x12, 0xc00025c580, 0xcc2b9b649d5d1a0b, 0x100000001)
        /home/travis/gopath/src/github.com/Necroforger/dgrouter/exrouter/router_wrapper.go:114 +0x639
github.com/rumblefrog/source-chat-relay/server/bot.Initialize.func1(0xc0000a9900, 0xc0000b2208)
        /home/travis/gopath/src/github.com/rumblefrog/source-chat-relay/server/bot/bot.go:46 +0xa3
github.com/bwmarrin/discordgo.messageCreateEventHandler.Handle(0xc00001e260, 0xc0000a9900, 0x9468e0, 0xc0000b2208)
        /home/travis/gopath/src/github.com/bwmarrin/discordgo/eventhandlers.go:497 +0x57
created by github.com/bwmarrin/discordgo.(*Session).handle
        /home/travis/gopath/src/github.com/bwmarrin/discordgo/event.go:171 +0x10e
Type the command in guilds as stated in the documentation
__________________
RumbleFrog is offline