tele-bots / covidbot Goto Github PK
View Code? Open in Web Editor NEW:chart_with_upwards_trend: Feature-rich bot to get live Covid-19 stats for India ๐ฎ๐ณ
Home Page: https://t.me/Covid19TBot
License: MIT License
:chart_with_upwards_trend: Feature-rich bot to get live Covid-19 stats for India ๐ฎ๐ณ
Home Page: https://t.me/Covid19TBot
License: MIT License
As suggested by @baljinderxd
The number of new deaths in past N days. By default show 10
Get top 15 states with most cases.
If there are less than 15 states with such condition, get only those.
This will get the location of the user and send the /state_name
command results.
Unhandled rejection Error: ETELEGRAM: 400 Bad Request: message is too long
at request.then.resp (/home/gurrrung/fun/CovidBot/node_modules/node-telegram-bot-api/src/telegram.js:283:15)
at tryCatcher (/home/gurrrung/fun/CovidBot/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/home/gurrrung/fun/CovidBot/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/home/gurrrung/fun/CovidBot/node_modules/bluebird/js/release/promise.js:604:18)
Mocha with
https://github.com/jehy/telegram-test-api
This command will be a summary graph for overall stats. Create a line chart with four lines:
red - confirmed cases
blue - active cases
green - recoveries
grey - deaths
A title would be great as the description of respective commands in the README.
Use: https://api.covid19india.org/resources/resources.json
Related to: #10
Before processing the command replace all _
with space just to support Telegram interface better as we can show all commands in the welcome menu.
Example:
daily_50 should be same as daily 50
Get the daily new recovered cases stats for past 10 days by default or for N days.
Food, community kitchen, testing centers
I don't know if we really need this but it would be awesome to have them.
CovidBot/app/utils/prepareAnswer.js
Line 79 in f66c5f8
CovidBot/app/utils/prepareAnswer.js
Line 81 in f66c5f8
CovidBot/app/utils/prepareAnswer.js
Line 1 in f66c5f8
CovidBot/app/utils/prepareAnswer.js
Line 186 in 6d70391
Steps:
Make different PR for each point
Research to be done by me, maybe I can use superProxy.
Once #54 is merged
daily
Sorry, this is not issue but I have only this means to connect with you. Your bot is working absolutely super and thanks a lot. May I know where is this project running on server like which server?
Uttarakhand
show only confirmed cases with (changes). Think of a better format
Work left:
Related to #10
Use nodemon
to restart the test server while watching file changes
Get the daily active new cases stats for past 10 days by default or for N days.
Make sure graph 180
works.
We will try to implement this one by one for each for loop in the repo. This is going to make the bot even faster. ๐ฅ
For example:
Punjab
Confirmed Cases: 176 (6 new cases)
Active Cases: 139
Recovered: 25 (2 new recoveries)
Deaths: 12
Add android screenshots
Research to be done on how to make this possible.
I eventually decided this feature to be added to the statename code
Can we have 1,00,000
instead of 100,000
, 10,00,000
instead of 1,000,000
.
Hint: for first three number from right, add a comma after third, after that add a comma after every two words.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.