diff --git a/highscores.py b/highscores.py index b1dc39b..0be2286 100644 --- a/highscores.py +++ b/highscores.py @@ -25,8 +25,7 @@ highscores_message_map = {} for guild in highscores_data.guilds: highscores_message_map[guild.guild_id] = {} for table in guild.tables: - message_id = table.message_id - highscores_message_map[guild][message_id] = table + highscores_message_map[guild.guild_id][table.message_id] = table.name submission_objects: dict = {}