Update Rich Presence Picture to Custom Art
For people like me who use apps like Google Play Music Desktop Player (unofficial) and Taiga, it would be really nice if we could control what art gets posted for the Rich Presence indicator, than just the application logo.
21
-
I'll put my support behind this. It would be really useful for third party music players, or really any kind of app.
0 -
That might be intended to prevent misuse of rich presence, but it would be still nice to have with rate limits for example. 0 -
First thing you have to do is make a discord https://discordapp.com/ account if you haven’t done that already.. by TyphoonTV
- First make a new application by clicking the “Create an application”
- When you create a new application, you will see a similar page as shown below on the foto.
- You will have to copy the Application id (See the arrow) and save it for later.
- Now you need to navigate to te left navigation bar and go to Rich Presence>Art Assets.
- This is where the magic starts, here you can upload you image.(The image has to be 512x512 pixels or lager)
- If you have uploaded the image you will need to remember the image name and don’t forget to hit “Save Changes”
Now we have the discord application id and the image name. Last, we have to put those values into a script.
I have made a very very getto and simple script for you to test it with.- make a folder inside the server resource folder and call it discord
- make 2 files one called fxmanifest.lua and one called client.lua
- paste the code below into the correct file
Thank you.....
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
3 kommentarer