Join Hyro's Coffe for latest updates.
This project uses the discord.js library to create a webhook which can display past and current status-changes of the official Discord API. The information is taken from discordstatus.com, the official Discord API's status page.
The resulting messages look like this:
Clone this repository by running the following commands:
git clone https://github.com/Laennart/discord-api-status-webhook.git
cd discord-api-status-webhook/
- Navigate to your discord server and choose a channel where you want the updates to be displayed.
- Go into the channels settings and navigate to the Integrations menu.
- Click on "Create Webhook", give it a name and save your changes.
- Copy the Webhook URL into the config file.
Before you can start using the webhook you have to create a config.json
file in the root directory of the project. Now paste your Webhook URL into the config file.
{
"url": "Webhook-Url",
"ignoreDays": 30
}
Now we can start the webhook by typing the following into the terminal:
npm install
npm run start
For future use you could set up a script to run the webhook periodically (e.g. with cron).