From 69a439d13a2a468d08a2911fed5484b78a97b89d Mon Sep 17 00:00:00 2001 From: alwayscompiling Date: Tue, 2 Aug 2022 16:43:15 -0400 Subject: [PATCH] Correct message map creation. --- highscores.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 = {}