In discord, spotify users can show what song they are playing as their status.
Us Youtube Music users did not have a way to do this, so I decided to make my own alternative.
Listening to music
Paused song
$ git clone https://github.com/KK964/Discord-YT-Music-Rich-Presence
A folder will be created called Discord-YT-Music-Rich-Presence
with the source code inside. You can open this folder with your favourite IDE and begin editing.
There are a few ways to setup for your use.
- Setup a Discord application
- Go to Discords Developer Page
- Make a new application
- Set the App Icon to the Youtube Music Icon
- Go to
Rich Presence -> Art Assets
set the Cover Image to Logo.png - Add Playing.png, and Paused.png
- Set the application id in your
.env
file
After you have finished setting up your application, install the dependancies.
$ npm i
The Extension instalation proccess may differ depending on what browser you are using. In the future this will be made easier.
- Go to
chrome://extensions/
- Enable Developer mode
- Click Load unpacked
- Navigate to where the
Discord-YT-Music-Rich-Presence/extension
folder is located and click Select Folder
- Go to
about:debugging#/runtime/this-firefox
- Click Load Temporary Add-on
- Navigate to
Discord-YT-Music-Rich-Presence/extension/manifest.json
- Click
manifest.json
and click Open Due to the extension being a temparary extension, you may need to re-add the extension on restart
$ node .
- Make working
- Add to Webstores
- Add to Chrome Webstore
- Add to Firefox Extensions page
- Add toggle button
- Add Join button