From 4ad76e143904772b66b782d5ca39716a49243cf4 Mon Sep 17 00:00:00 2001 From: insert Date: Sat, 10 Aug 2024 16:13:16 -0400 Subject: [PATCH] Update --- rolebuttons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rolebuttons.py b/rolebuttons.py index 2569eca..0f51c88 100644 --- a/rolebuttons.py +++ b/rolebuttons.py @@ -61,7 +61,7 @@ class rolebutton(commands.Cog): ) async def rolerefresh(self, interaction: nextcord.Interaction, msgid): msgid = int(msgid) - msg = await nextcord.abc.Messageable.fetch_message(msgid) + msg = await nextcord.abc.Messageable.fetch_message(self.bot, msgid) if msg.author.id != self.bot.application_id: await interaction.response.send_message("I can't edit that message", ephemeral=True) return