Setup

First Steps: Login in https://discordapp.com/developers/applications/me You need to create a new application, below are the instructions to setup the plugin.

Note: The plugin comes with an application id configured in the demo scenario so you can perform a quick test.

 

Figure 1 - Click on New App

Figure 1 - Click on "New App"

 

Figure 2 - Complete the APP Name and click on Create App button.

Figure 2 - Complete the APP Name and click on "Create App" button.

 

Figure 3 - Save the Client ID.

Unity Setup:

 

Figure 4 - Open the "RichPresence" scene. On the "Discord" GameObject set the Application ID.

Figure 5 - This is the screen before you run the game. Note that the Discord status is "Disconnected"

 

Figure 6 - Once you run the game, the asset uses the Discord GameSDK to connect to the local running Discord application. Note that the status changes to “Connected” and also shows the current logged user.

 

Figure 7 - Your Discord friends view of your profile. They can send you a “Join request” with the “Ask to Join” button.

 

Figure 8 - Sending an invitation request to a friend.

Figure 9 - Your Discord friends view of the invite request.