aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities/bookmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/utilities/bookmark.py')
-rw-r--r--bot/exts/utilities/bookmark.py2
1 files changed, 1 insertions, 1 deletions
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(