Get Discord notifications for when your friends are online!
-
Create a Discord bot and add it to a server with all your friends.
-
Create a
.envfile and edit the following parameters:- Your Discord bot token as
token. - Your server ID as
guild. - Your own Discord ID as
notificationUser. You will receive status updates as Discord DMs. - Users to monitor can be added with environment variables titled
user1,user2,user3, etc. The value should be the user's Discord ID (see here for more). - Use
legacy='true'to get plaintext messages instead of the new Discord embed.
- Your Discord bot token as
- Install dependencies with
npm install. - Start the application with
node index.js.
Note It is recommended to use a batch file or bash script to run the application on startup.