Giter Site home page Giter Site logo

tetracyl / coronacord Goto Github PK

View Code? Open in Web Editor NEW
23.0 2.0 14.0 1.48 MB

Discord bot that displays the latest coronavirus statistics. Currently serving over 5,000 communities on Discord.

Home Page: https://coronacord.github.io/

License: Apache License 2.0

JavaScript 99.53% Shell 0.47%
bot discord-bot coronavirus covid19 covid19-data coronavirus-tracking country

coronacord's Introduction

Discord Discord Bots


CoronaCord

CoronaCord is a discord bot that displays the latest stastics on the corona virus. Provides info on # of confirmed cases, # of recovered and # of deaths in almost 200 countries and 50 states.

Add to Discord

Click here to invite CoronaCord to your server.

Coronacord's default prefix is set as c.. To view a list of the bot's commands type c.help.

Features

  • c.corona Shows global stats about the coronavirus.

  • Image
  • c.graph <country> Shows a graph of the coronavirus in a specific country over time.

  • Image
  • c.country <country> Shows stats about the coronavirus in a specific country.

  • Image
  • c.state <state> Shows stats about the coronavirus in a specific country.

  • Image
  • c.top Shows the countries most infected with the coronavirus.

  • Image

Self Hosting

Self hosting CoronaCord is not supported and no help will be provided. I am not responsible or liable for any self hosted clones of CoronaCord.

Donate

Buy Me A Coffee

coronacord's People

Contributors

3eif avatar mraugu avatar

Stargazers

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

Watchers

 avatar  avatar

coronacord's Issues

To-Do List

This issue resembles the list of things that need to be done.

  • Turn the complete user cache deletion into smart uncaching, to strategically keep the users who use commands cached and to be able to achieve better speeds, not needing to fetch the user upon message.
  • Have a cache at hand if API decided to stop working at any arbitrary point.
  • Having a temporary cache for graphs so the same graph does not get rendered tens of times.
  • Checking for permissions before running command so bot doesn't stop working mid-command.
  • Rewriting of Message event.
  • Fixing the duplicate graph record issue, where sepparate instances image the countries due to outdated info.
  • Adding an event tracker to track the age of events periodically, sweep out old ones and simply increment a number, while keeping events that are up to 1 hour old cached with the timestamp, to minimize the resource intake of it (currently huge).

Graphing Command?

Wait I saw that you said that there was a graphing command like you stated in the README, but I don't see it in the repository. Where did it go?

C.country netherlands feature is broken

untill yesterday it worked perfect, since today, when i do c.country netherlands it shows not the netherlands but caribbean netherlands.

i tried "c.country holland" (which is wrong) no result. i tried "c.country the netherlands" does not work.

Before showing the carribean it even said netherlands was not a country, was great before, now this bot is just broken.

Suggestion Discussion

This issue resembles all suggestions we are aware of.

  • World-Wide Graph
  • Real-Time Feeds
  • World Top Graph
  • Support for Continents/Regions
  • Enhance World Top List (Make it fancy.)
  • Aliases for Commands
  • Sync Data from WorldOMetrics More Frequently
  • Multi-Language Support
  • Custom Prefix
  • Ignored Channels

c.province can't find several Canadian provinces

not sure if this is only due to names with spaces but I'm optimistic that an easy fix would be allowing query by abbreviation

arguments that return results with c.province canada [arg]:

* ontario
* quebec
* manitoba
* alberta
* yukon

arguments that fail (CoronaCord "couldn't find that province"):

* bc
* british columbia
* britishcolumbia
* british
* columbia
* nwt
* northwest territories
* prince edward island

happy to do more testing but the admin of the public server I'm in may eventually be cross with me ๐Ÿ˜

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.