Create shell commands and autofill functions. Fix set initializer in utils.autofill_users.

This commit is contained in:
alwayscompiling
2022-11-22 17:12:26 -05:00
parent 03c7a9303a
commit 8a2108fc14
2 changed files with 101 additions and 20 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ def autofill_users(guild_id: int, table_name: str, category_name: str, user_begi
# If no category name, get all users in table.
if category_name is None:
user_set: set
user_set: set = set()
for category in highscores_data.get_guild(guild_id).get_table(table_name).get_categories().values():
user_set = user_set | set(category.get_users())