Skip to content

Make Discord badge dynamic #2

@PitaFLAME

Description

@PitaFLAME

The current discord badge is not dynamic. The numbers are not real, and are hard-coded in. I want to change that so that it updates periodically.

Please accomplish the following:

  • You have a choice between using a local data file, and a database for this task. Please notate which you end up deciding on in your Pull Request.
  • You will need to research what APIs are available for Discord servers, or find a way to accomplish this with web scraping. Of course, ask for help if you need assistance with this or ideas.
  • The style of the Discord invitation should remain the same. Do not touch the styles.
  • You will need to collect the following values and provide it to the component:
    • Number of members online
    • Total number of members in the server
  • You will need to provide these numbers to the component and ensure that they are accurate.
  • You do not need to refresh the values on this more than once per hour. If you need help setting up cron jobs or scheduled API requests on our side, speak to Pita.

150 points

Metadata

Metadata

Assignees

No one assigned

    Labels

    back-endThis issue primarily involves back-end developmentcomplexThis may require multiple peopletweakChanging a feature or detail

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions