Corona Notifier is a Whatsapp automatic notification robot using MQTT & nodeJS. The Corona Service will collect latest data about the COVID-19 indonesian case from the worldometers
This project require MQTT broker, nodeJS
Clone this project
> git clone https://github.com/YogaSakti/CoronaNotifier.git
> cd CoronaNotifier
Install the dependencies:
> npm i
run the Whatsapp bot
> node index.js
after running it you need to scan the qr
run the corona service
> node CoronaService\corona.js
(WARNING: This is only available with Bahasa Language)
This bot is for covid-19 information purpose by automatically answer for available data, by using the available command :
- !help The introduction and list of available command, example output
COVID-19
!corona => ........
!aktif => .......
!mati => ......
- !ping Using This command will response "pong"
- !corona Using This command will return information about current indonesia corona case and global case, example output
COVID-19 Update!!
Negara: xx
Total Kasus: xx
Kasus aktif: xx
Kasus Baru: xx
Meninggal: xx
Meninggal Baru: xx
Sembuh: xx
Sembuh Baru: xx
Dicek pada: xxx, xx xxxx 2020 | xx.xx WIB
- !aktif Using This command will enable notifications when there is a data update.
- !mati Using This command will disable notifications when there is a data update.
- !peta Using This command will return the corona virus distribution map information.