Update delete scores command.

This commit is contained in:
alwayscompiling
2022-08-02 21:21:36 -04:00
parent 69a439d13a
commit 80f3966d39
2 changed files with 15 additions and 1 deletions
+3 -1
View File
@@ -29,7 +29,9 @@ class DeleteScores(commands.Cog, name="Delete Scores"):
# only allow AlwaysCompiling to use.
# If you are a developer and want to use command, can add name to list
if ctx.author.id == 206602713511886849:
highscores_data.reset_guild_data(ctx.guild.id)
for table in highscores_data.get_guild(ctx.guild.id).tables:
for category in table.categories:
category.clear()
# This function will be called when this extension is loaded.