Correct message map creation.
This commit is contained in:
+1
-2
@@ -25,8 +25,7 @@ highscores_message_map = {}
|
|||||||
for guild in highscores_data.guilds:
|
for guild in highscores_data.guilds:
|
||||||
highscores_message_map[guild.guild_id] = {}
|
highscores_message_map[guild.guild_id] = {}
|
||||||
for table in guild.tables:
|
for table in guild.tables:
|
||||||
message_id = table.message_id
|
highscores_message_map[guild.guild_id][table.message_id] = table.name
|
||||||
highscores_message_map[guild][message_id] = table
|
|
||||||
|
|
||||||
submission_objects: dict = {}
|
submission_objects: dict = {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user