Dissonance is no way created by, endorsed by, or affiliated with Discord.Dissonance is built on discord-rpc
ALL KNOWN ISSUES FIXED
Once you've done this, you're ready to use Dissonance!
Before you can call Any
rousr_dissonance_create(<your-app-id>)to create the Dissonance object and initialize the Discord RPC.
Next, setup your handlers.. none of them are actually required, but if you're going to have join / spectate functionality, or want to catch when the RPC is ready / log errors, they are available:
Note: When receiving a join request, prompt the player with options to accept or reject the invite, sending the reply with the following:
rousr_dissonance_respond_to_join(_user_id, _reply)(_reply is a
The following functions set the various fields:
rousr_dissonance_set_party(_party_size, _party_max, [_party_id])
If you want to follow the Example exactly, I've included two 1024x1024 png files in the Included Files section of the resource tree. Upload these both to the "Rich Presence Assets" section of your dashboard: