Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.46 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.46 KB

discord-status-notification

Get Discord notifications for when your friends are online!

image image

Setup

  • Create a Discord bot and add it to a server with all your friends.

  • Create a .env file 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.

    image

Running

  • 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.