Correct message map creation.
This commit is contained in:
+1
-2
@@ -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 = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user