Message map has guild id as an int. Update submission view to use HighscoresData.

This commit is contained in:
alwayscompiling
2022-07-28 11:01:40 -04:00
parent 463ef48052
commit f136181216
5 changed files with 60 additions and 23 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class PostHighscores(commands.Cog, name="Post Highscores"):
?post-scores
```
"""
highscore_channel_id = highscores_data.get_guild_channel_id(ctx.guild.id)
highscore_channel_id = highscores_data.get_guild_highscores_channel(ctx.guild.id)
print(f"Printing out highscores information in channel {highscore_channel_id}")
channel = ctx.guild.get_channel(highscore_channel_id)