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 c856d80c..47db9a0b 100644
--- a/bot/exts/utilities/bookmark.py
+++ b/bot/exts/utilities/bookmark.py
@@ -136,7 +136,7 @@ class Bookmark(commands.Cog):
async def _bookmark_context_menu_callback(self, interaction: discord.Interaction, message: discord.Message) -> None:
"""The callback that will be invoked upon using the bookmark's context menu command."""
- permissions = interaction.channel.channel.permissions_for(interaction.user)
+ permissions = interaction.channel.permissions_for(interaction.user)
if not permissions.read_messages:
log.info(f"{interaction.user.author} tried to bookmark a message in #{interaction.channel}"
f"but has no permissions.")