On this day... webhook
This program scrapes the current date's On this day... information from Wikipedia and pushes it to a webhook of your choice.
Right now, it only supports Discord webhooks.
$ npm install -g on-this-day-webhook $ on-this-day-webhook discord https://discordapp.com/api/webhooks/...
Setting it up to run daily
Step 1: Create your Webhook
Open your server's Webhook settings
Click Create Webhook and configure it according to your wishes
If you need an image for the avatar, here's a pre-fitted and resized image you can use.
Copy the Webhook URL when you're done.
Step 2: Run it daily
I personally use a crontab to run it at 16:00 every day. Here's how it looks:
0 16 * * * /home/nixx/.npm-global/bin/on-this-day-webhook discord https://discordapp.com/api/webhooks/...