diff --git a/cogs/post_highscores/__init__.py b/cogs/post_highscores/__init__.py index 5d4ac24..8aa929a 100644 --- a/cogs/post_highscores/__init__.py +++ b/cogs/post_highscores/__init__.py @@ -46,8 +46,8 @@ class PostHighscores(commands.Cog, name="Post Highscores"): await message.edit(view=SubmissionCreateButton(self.bot)) # have to save data here in case message id was changed. rather save here after all - # all messages have been sent. - highscores_data.save_guild_data(ctx.guild.id) + # messages have been sent. + highscores_data.save_guild_data(guild) # This function will be called when this extension is loaded.