Saving guild after modification.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user