aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2022-11-02 15:09:10 -0700
committerGravatar Xithrius <[email protected]>2022-11-02 15:09:10 -0700
commitce41fb8e2cb27ebda982ba7ef3f9e31a11ad6626 (patch)
tree4211fc141b9776a95898225a9f4314c7bb55758d /bot
parentMerge branch 'main' into main (diff)
Fixed everything
Diffstat (limited to 'bot')
-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(