Update message map and send highscore message for multiple guilds.

This commit is contained in:
alwayscompiling
2022-07-22 22:36:47 -04:00
parent 158e53e799
commit 609bfa1277
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class PostHighscores(commands.Cog, name="Post Highscores"):
"""
highscore_channel_id = highscores_data["highscore_channel_id"]
print(f"Printing out highscores information in channel {highscore_channel_id}")
channel = self.bot.get_channel(highscore_channel_id)
channel = ctx.guild.get_channel(highscore_channel_id)
error_response = 'Registered Highscores channel does not exist or was never registered. \n\
Register with "?register" command.'