Simple discord Rich presence for music
To show any of the images you must add them to your application.
-
Go to Discord Developer Portal
-
Go to Your application
-
Go to
Rich Presence
andArt Assets
-
Click
Add Image(s)
As you add images you will see that name was probably changed (if not it will be changed from example My Greatest Album!!!
to my_greatest_album_
).
If image name is equal to album name at post it will work 90% of the time. If not change name in Rich Presence Assets
or image name localy (or with covers array)
-
Go to Discord Developer Portal
-
Create new Application
-
In
General Information
find your Application ID
It should be only numbers
songCmd
, artistCmd
, albumCmd
and currentTimeCmd
will be removed in feature versions. And replaced with only chosing what music player you use.
They're mostly self explanatory but that's their description.
-
songCmd
: Title of current playing song. -
artistCmd
: Artist of current playing song. -
albumCmd
: Album of curr... seriously?? -
currentTimeCmd
: Time that passed from start of the song. (Can be easly implemented with checking song change)
To use folder with images.
If false it will use covers array.
Directory with images.
Only used when useImg is set to true
Simple array with names of Albums (or album covers)
What image to use when there is not album.
Can be left blank and discord will show smaller image as large.