Partify is a Node.js app used for listening songs others are listening to!
Partify uses discord.js and Express to run a discord bot to check the rich presence status of users in a given server and report their status to a local webserver which displays the songs each users are listening to. The songs are played through a YouTube embed with the help of the scrape-youtube library.
Install the package manager npm and the runtime environment Node.js to run Partify.
Install the required dependencies by:
npm install
Create a .env
file with the following info:
DISCORD_TOKEN=YOUR_TOKEN
DISCORD_SERVER_ID=`YOUR_SERVER_ID`
WEB_SERVER_PORT=`YOUR_SERVER_PORT`
WEB_SERVER_HOSTNAME=`YOUR_HOSTNAME`
To run the program locally, set the hostname to localhost
.
Run the program through node by:
node .
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.