Saving guild after modification.

This commit is contained in:
alwayscompiling
2022-08-03 22:21:49 -04:00
parent 4d9c70bf09
commit 66ace947c6
4 changed files with 15 additions and 7 deletions
+1
View File
@@ -32,6 +32,7 @@ class DeleteScores(commands.Cog, name="Delete Scores"):
for table in highscores_data.get_guild(ctx.guild.id).tables:
for category in table.categories:
category.clear()
highscores_data.save_guild_data(highscores_data.get_guild(ctx.guild.id))
# This function will be called when this extension is loaded.