Replies: 1 comment 1 reply
-
The stack trace you have provided indicates that you're panicing on Line 120 in 128f34b Therefore I'm assuming that your |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there !
I'm requesting help from the community about a problem I face since a few days...
Let me explain :
Context
I'm making a web-based game that is enriched with a Discord implementation.
I want to follow player movement to sync it with my Bot, for example, switch to another channel with the press of a button on the player view page.
Problem
When a player from my game change room it makes a POST request to a HTTP server listening in my Go package.
I don't know if I'm getting it right, but my guess is that when this request is handled and calls the
Session.GuildMemberMove
function, it doesn't wait for discordgo to make it's request to Discord's API, giving me the error down there 👇I have tried a lot of ways to try to get around this, and maybe I'm missing something here that would make it very easy to implement. I hope you guys may find a solution !
mypackage/app (holds all the bot logic, including Session)
mypackage/api (holds all the logic for receiving requests)
Thanks in advance for the time you may take to read all of this.
Please ask me if you need any more code snippets or other files
Good night/day
Beta Was this translation helpful? Give feedback.
All reactions