Because it's so hard to keep on top of building and maintaining the stats website it would be useful to have a !build command that admins could use to rebuild to website with the most current statistics.
Also, the website needs to be completely reworked now that the stats are in a database instead of a file. Note: Before this can happen users also need to be moved to the database
On the build command, the bot will generate HTML files from maybe the first 100 entries in a db query. So the first 100 for top songs, first 100 for most played, ect..
Then the bot will commit all of the newly generated files to github and return a link in dubtrack to the website once it has been built.
Because it's so hard to keep on top of building and maintaining the stats website it would be useful to have a
!build
command that admins could use to rebuild to website with the most current statistics.Also, the website needs to be completely reworked now that the stats are in a database instead of a file. Note: Before this can happen users also need to be moved to the database
On the build command, the bot will generate HTML files from maybe the first 100 entries in a db query. So the first 100 for top songs, first 100 for most played, ect.. Then the bot will commit all of the newly generated files to github and return a link in dubtrack to the website once it has been built.