Open tlaik opened 6 years ago
Has it failed for anyone else?
Someone else did have an issue with updateStatus() issue #40 . However, I have yet to look into it. What I'm guessing is the issue is that the Client isn't sending the status in the correct format. I right now can't look into it as I have to get my client with new features working before I can do some debugging on this issue.
Calling updateStatus with any status argument in onReady or onMessage (just as a test) gives the following output:
Can be reproduced by adding callback like:
void onReady(std::string* jsonMsg) { updateStatus("some status"); }
into one of the examples.Looking into the library code, it uses STATUS_UPDATE (3) when creating JSON message, which is still correct according to https://discordapp.com/developers/docs/topics/opcodes-and-status-codes#gateway-opcodes - so I'm not sure what's happening here.
sendMessage and other functions are working fine for me.