/covid-19-tracker

Primary LanguagePythonMIT LicenseMIT

ko-fi

Coronavirus COVID-19

PyPI pyversions AppVeyor Discord GitHub pull requests GitHub issues GitHub

Coronavirus COVID-19

Coronavirus COVID-19

Get the latest update with notification alerts and graphics stats about COVID-19! For every countries and regions! World news available too!

Commands

Prefix : c! or @mention

<something> is required [something] is optional arg1 / arg2 mean arg1 or arg2

Command Description
c!help Views help command.
c!info Views every confirmed cases.
c!<s / stats> [log / country / log [country]] Views graphical statistics. If no args provided return linear graph for total cases.You can find countries with full name or ISO-3166-1.Examples : c!stats us, c!s log usa, c!stats log
c!<r / region> <state/province / all> in <country> Supported countries (China, Canada, United States, Australia, Cruise Ship). Views regions infected in specific country or in all state with all arg. The in (mandatory symbol) is interpreted as separator between the country and the region/province so don't forget it. Example 1 : c!r new york in us. Example 2 : c!region all in china.
c!country <country> Views information about multiple chosen country/region. You can either use autocompletion or ISO-3166-1. Examples : c!country fr usa it gb
c!track <country / [disable]> Track country (bot will DM you update). Examples : c!track us, c!track disable.
c!news Views recent news about COVID-19 (update every 1 hour).
c!nofitication <country / disable> <every NUMBER> <hours / days / weeks> (Only administrator) When new datas are found, the bot will send you a notification where you typed the command, server only. Examples : c!notification usa every 3 hours, c!notification disable
c!source Views source data which the bot is based on.
c!suggestion <message> Send suggestion feedback.
c!bug <message> Send bug feedback.
c!about Views informations about the bot.
c!invite Views bot link invite.
c!vote Views bot vote link.

Few examples

  • c!s china

Example Stats

  • c!s log cn

Stats log

  • c!notif usa every 2 hours

Example notification

  • c!country fr it usa es gb china

Example country filter

  • c!r new york in us

State/Province

  • c!info

Example info

Built With

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Deployment

  • Scaleway

Changelog

0.0.6 - 2020-04-07

Added

  • clist -> list every country that can be call by bot commands.
  • ISO-3166-1 for all countries

Fixed

  • Improve bot stability.
  • Fix minor issues.
  • Fix typos.

Changed

  • c!notification <enable | disable> -> c!nofitication <country | disable> <every NUMBER> <hours | days | weeks> you can have notification about country in a specific channel for your server.
  • c!stats [log] -> c!<s | stats> [log | country | log [country]] you can now have log graph for countries.
  • Graph display Total confirmed - active.

0.0.5 - 2020-03-29

Added

  • Now with c!stats <country> you got a minimap in the right top corner about the selected country.

Fixed

  • Prefix can be interpreted as C! and c! (useful when you are on mobile).

Changed

  • Back to old format according to your suggestion.

0.0.4 - 2020-03-27

Added

  • New emote.
  • More informations in c!source.
  • Add Total active cases in c!stats

Fixed

  • Fix Notification and tracker.
  • Improve data stability.

Changed

  • c!stats changed to -> c!stats [country | log] and can now show specific graphic for each countries, you can also get the logarithmic graphic.
  • change c!help for c!stats.

0.0.3 - 2020-03-17

Added

  • New command : c!<r | region> <STATE/PROVINCE | all> in <COUNTRY>, now you can get stats from state/province in supported countries (China, Canada, United States, Australia, Cruise Ship).
  • New field in c!help for c!<r | region> command.
  • Patreon field added in c!about.
  • World Health Organization (WHO) source in c!source.
  • Different formatting on mobile and desktop
  • New bot icon

Fixed

  • English typos.

Changed

  • Better formatting visualization for c!country, c!info, c!notication, c!track
  • Better graphic visualization on x and y axis, timeline rotation and some color changes.
  • Embed color

0.0.2 - 2020-03-13

Added

  • c!news recent news about COVID-19 using newsapi.org
  • New field in c!help for c!news

Fixed

  • Fix typos that didn't match with the current difference visualisation.
  • Fix GMT update typos.
  • Improvements on data update.

0.0.1 - 2020-03-12

Added

  • c!vote
  • c!track <COUNTRY | [disabled]>
  • c!suggestion <MESSAGE>
  • c!bug <MESSAGE>
  • New data sources.

Fixed

  • Graphical statistics now update the current day cases.
  • You can use country code to get a country data with c!country <COUNTRY>