How To Use Discord Rich Presence
To add an image to your discord app go to the discord developer portal and in the rich presence art assets section upload the images your game requires.
How to use discord rich presence. There is a function called updatepresence that you need to implement yourself for your game. Of these features discord s rich presence statuses have evolved from being a way to show friends what game users are currently playing to showing what song they re listening to and more. Drpc discord rich presence display a player s current status within your game so they can show it off on discord let players invite people from their discord client an ask to join button lets players partner up outside the game a spectate button lets users spectate a player outside the game discord s verification required per game unicode. After you create a application you can set it up to anything you want. With third party integrations you can create custom discord status messages to show friends what users are doing on just about any site on the web.
I used the unreal engine logo and the key is ue4logo shown above. Click enable rich presence. The display is a little different than that which you d find from xbox live since it s pushing a rich presence to the app. First we need a application so got to discordapp. For example where your name would display.
Name app icon etc after you set a name and maybe a app icon click on rich presence art assets. Head over to your applications page to check it out. You also need to call it manually or make a timer to do it every x seconds make sure to include your application id in the variable in the discord class right now it requires the discord preprocessor variable to be set. It s ready for rich presence use. Get started both players and our internal staff appreciate the way discord creates an easy to use intimate channel of communication as well as a great integrated way to play together.
Upload an image tag it with a key preferably one you can remember and bam.