From ce41fb8e2cb27ebda982ba7ef3f9e31a11ad6626 Mon Sep 17 00:00:00 2001 From: Xithrius Date: Wed, 2 Nov 2022 15:09:10 -0700 Subject: Fixed everything --- bot/exts/utilities/bookmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/exts/utilities/bookmark.py b/bot/exts/utilities/bookmark.py index 50e3038f..138284c2 100644 --- a/bot/exts/utilities/bookmark.py +++ b/bot/exts/utilities/bookmark.py @@ -51,7 +51,7 @@ class SendBookmark(discord.ui.View): self.title = title @discord.ui.button(label="Receive Bookmark", style=discord.ButtonStyle.green) - async def button_callback(self, button: discord.Button, interaction: discord.Interaction) -> None: + async def button_callback(self, interaction: discord.Interaction, button: discord.Button) -> None: """The button callback.""" if interaction.user.id in self.clicked: await interaction.response.send_message( -- cgit v1.2.3