Command - Removal of Games
xTVaser opened this issue · comments
Tyler Wilding commented
!removegame <id/alias>
Tyler Wilding commented
Changed mind, I believe this command should go through the tracked runner objects and delete the respective games.
This can be easily be done by pulling the entire database, and converting all results back into the model objects with this function https://github.com/xTVaser/sr_discord_bot/blob/master/lib/db/psql_database.rb#L83
This function can then be used to update the runner objects back into the database (not tested yet throughly though) https://github.com/xTVaser/sr_discord_bot/blob/master/lib/db/psql_database.rb#L101