From 493d44fa19f6f7a9987f51289277e83dd1fa8cb6 Mon Sep 17 00:00:00 2001 From: alwayscompiling Date: Fri, 22 Jul 2022 23:41:00 -0400 Subject: [PATCH] Pass guild_data when needed. --- cogs/post_highscores/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/post_highscores/__init__.py b/cogs/post_highscores/__init__.py index e64b619..b34aa28 100644 --- a/cogs/post_highscores/__init__.py +++ b/cogs/post_highscores/__init__.py @@ -41,7 +41,7 @@ class PostHighscores(commands.Cog, name="Post Highscores"): for boss, categories in highscores_config[ # pylint: disable=unused-variable "tables" ].items(): - message: nextcord.Message = await send_highscore_message(channel, boss) + message: nextcord.Message = await send_highscore_message(channel, boss, guild_data) await message.edit(view=SubmissionCreateButton(self.bot)) # Saving in case new message was sent.