Code Monkey home page Code Monkey logo

covidbot's People

Contributors

baljinderxd avatar dependabot[bot] avatar gaurav-kay avatar gaushikmr avatar rahgurung avatar rajkumaar23 avatar vj-abishek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

covidbot's Issues

`test tn` throws a error

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)

add `graph` command

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

support `_` in the commands

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

`daily rec N` command

Get the daily new recovered cases stats for past 10 days by default or for N days.

can we add graphs?

I don't know if we really need this but it would be awesome to have them.

refactor to make eslint test pass without disabling them

  1. (fixed by @baljinderxd )
    // eslint-disable-next-line guard-for-in
  2. (fixed by @baljinderxd )
    // eslint-disable-next-line max-len
  3. /* eslint-disable no-restricted-syntax */
  4. // eslint-disable-next-line guard-for-in

Steps:

  1. Remove the commented line, refactor the code to do the same thing but make the eslint test pass.
  2. Make PR.

Make different PR for each point

Hosting

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?

indian version of comma instead of foreign

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.