oddluck-limnoria-plugins/Corona
oddluck 475b4169bb Corona: add API data caching 2020-03-12 01:07:28 +00:00
..
README.md Corona: add API data caching 2020-03-12 01:07:28 +00:00
__init__.py Corona: reload config, decode json 2020-03-10 21:20:28 +00:00
config.py Corona: add API data caching 2020-03-12 01:07:28 +00:00
plugin.py Corona: add API data caching 2020-03-12 01:07:28 +00:00
requirements.txt Corona: abbreviations, api fallback, etc. 2020-03-10 20:44:32 +00:00

README.md

Return the latest Coronavirus (COVID-19) statistics globally or by country/state.

paypal

config plugins.corona.template - Configure the template for replies

Template default: \x02$location: \x0307$confirmed\x03 infected, \x0304$dead\x03 dead ($ratio), \x0309$recovered\x03 recovered.

config plugins.corona.countryFirst - Country name abbreviations take precedence over USA state name abbreviations when True

countryFirst default: False

config plugins.corona.cacheLifetime - Time in seconds to cache API results. Default: 600