Updated all table data accesses to have table as part of access.

This commit is contained in:
alwayscompiling
2022-07-22 21:30:46 -04:00
parent 307ef86493
commit d0131b1044
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ def get_submission_embed(userid: int) -> nextcord.Embed:
def category_select_options(boss_name: str) -> "list[nextcord.SelectOption]":
"""Returns list of categories for a given boss."""
options: "list[nextcord.SelectOption]" = []
boss_dict = highscores_data[boss_name]
boss_dict = highscores_data["tables"][boss_name]
for category in boss_dict["categories"].items():
options.append(nextcord.SelectOption(label=category[0]))