Skip to content

Automatically pushes new iserv exericses to your discord webhook.

License

Notifications You must be signed in to change notification settings

aimok04/iserv_exercise_discord_webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[UNOFFICAL] IServ Exercise Discord Webhook

This NodeJS script automatically sends new iserv exercises to a discord webhook.

Installing

  1. Download the latest NodeJS Version from https://nodejs.org/en/download/ and install it.

  2. Download this repository. git clone https://github.com/aimok04/iserv_exercise_discord_webhook/

  3. Cd into the new folder and run npm install to install all dependencies.

  4. Create a discord webhook in your server settings.

  5. Run the main.js file with node . to start the setup. You will need the host and port of your IServ-Web-Server, the credentials from your IServ-Account and the link to your Discord webhook.

  6. Create a crontab (or something similar) to run the main.js script repeatedly.

    Example: */5 6-17 * * 1-5 cd /path/to/script/ && node .
    This will execute the script every 5 minutes from 6 am to 5 pm from Monday until Friday.

Updating

You can update the project files with this command: git pull

Used NPM packages

I used two NPM packages in this script.

Disclaimer

I don't know if this will work for every server. If you have any suggestions or questions please let me know! :)

About

Automatically pushes new iserv exericses to your discord webhook.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published