edwin0259 / bot-commands

User suggested commands for maestroBot
MIT License
2 stars 3 forks source link

Add website build command #15

Closed edwin0259 closed 6 years ago

edwin0259 commented 6 years ago

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.

edwin0259 commented 6 years ago

This has been added, website has been fully updated for the database. Should keep a close eye on bot for bugs over the next few days.