Only sending boss name as a string, no dict objects.

This commit is contained in:
alwayscompiling
2022-06-29 22:52:50 -04:00
parent 061411f18d
commit 02e4d075dd
4 changed files with 13 additions and 11 deletions
+1 -2
View File
@@ -25,7 +25,6 @@ class PostHighscores(commands.Cog, name="Post Highscores"):
?post-scores
```
"""
# temporarily sending config data...
channel_id = highscores_data["channel_id"]
print(f"Printing out highscores information in channel {channel_id}")
channel = self.bot.get_channel(channel_id)
@@ -35,7 +34,7 @@ class PostHighscores(commands.Cog, name="Post Highscores"):
await ctx.send(response)
return
for boss in highscores_config["bosses"]:
await highscore_message.send_highscore_message(channel, boss)
await highscore_message.send_highscore_message(channel, boss["boss"])
data_storage.save_highscores_data(highscores_data)