Message map has guild id as an int. Update submission view to use HighscoresData.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user