/corona-discord-webhook

Daily Webhook Coronavirus (COVID-19) update for your discord server.

Primary LanguageJavaScriptMIT LicenseMIT

Corona Discord Webhook (Indonesia)

Workflows

About

Daily Webhook Corona virus update for your discord server. Updated every 06.00 GMT+7 and 18.00 GMT+7 (Asia/Jakarta)
Using Nodejs v12, Discord.js v12.1.1, and CronJob.

Data based on https://kawalcorona.com/api/

Required Module/Package

discord.js@12.1.1,
utf-8-validate@5.0.2,
zlib-sync@0.1.6,
cron@1.8.2,
moment@2.24.0,
node-superfetch@0.1.10

Installation

Install the packages:

$ npm install

Setup the webhook ./src/config.json:

{
  "webhookID": "",
  "webhookToken": ""
}

Run the webhook:

$ node .

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m "Add some feature"
  4. Push to the branch: git push -u origin my-new-feature
  5. Submit a pull request :D

©️ 2020 DwiiUnknown | ZealcordDevelopment