It seems that anything to do with Presences causes a segmentation fault within the library itself. For example, in state.go, presenceAdd has been throwing panics for me:
I seemed to have fixed it by adding a simple check to see if User is not nil:
Then, another issue came up in state.go:
Hopefully this will fix the issue for now, but I was wondering if anyone else is having this issue. This is on the latest commit of discordgo as of this date.
It seems that anything to do with Presences causes a segmentation fault within the library itself. For example, in state.go, presenceAdd has been throwing panics for me:
I seemed to have fixed it by adding a simple check to see if User is not nil:
Then, another issue came up in state.go:
Hopefully this will fix the issue for now, but I was wondering if anyone else is having this issue. This is on the latest commit of discordgo as of this date.