How To Use Discord Rich Presence
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.
How to use discord rich presence. Discord will host any and all artwork that you need to have the very richest of presences. There is a function called updatepresence that you need to implement yourself for your game. Name app icon etc after you set a name and maybe a app icon click on rich presence art assets. It s ready for rich presence use. 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.
Upload an image tag it with a key preferably one you can remember and bam. I used the unreal engine logo and the key is ue4logo shown above. After you create a application you can set it up to anything you want. First we need a application so got to discordapp. 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.
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. Rich presence makes it easy for players to jump directly into your client and share your game. 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. Click enable rich presence. The uploaded file s name is the key name used for the set rich presence info node.
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.