I’m trying to use SetRichPresence(" ")
But it’s limiting me.
I saw servers with logo and custom labels.
Will it be possible to make a client script with discord api?
Thank you.
The logo and custom “playing <x>” is part of natives which were added recently.
SET_DISCORD_APP_ID
and SET_DISCORD_RICH_PRESENCE_ASSET
Hi ! I managed to get it kinda working but not entirely.
I have the name of the server but I can’t see the image or the custom description.
I put the clientId in the SetDiscordAppId() function but what do you put in SetDiscordRichPresenceAsset() ?
Like the documention I linked says, you pass the name of an asset uploaded via the discord application dashboard. Google “discord custom rich presence” if you can’t figure out the dashboard.
I got it working.
First go to
And create a application.
Put your name.
If you want to change the Image:
Then choose an id for your pic.
Code:
SetDiscordRichPresenceAsset('YOUR PHOTO ID')
SetDiscordAppId('YOUR CLIENT ID')
SetRichPresence('Text')
Hope it helps.
Thanks @blcd
In which directory do I put this code?
Search for discord in the tutorial section and follow that.