aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Robin5605 <[email protected]>2023-03-18 22:43:04 -0500
committerGravatar Robin5605 <[email protected]>2023-03-18 22:43:04 -0500
commit62f4e52e5ff7bf2875ea768c48bf276d614c5f6f (patch)
tree5a02b7c74e8141236ffab3e482065a0477643580
parentHandle DM closed situation (diff)
Use instead of full class name
-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 608d6816..46c00438 100644
--- a/bot/exts/utilities/bookmark.py
+++ b/bot/exts/utilities/bookmark.py
@@ -204,7 +204,7 @@ class Bookmark(commands.Cog):
permissions = ctx.channel.permissions_for(ctx.author)
if not permissions.read_messages:
log.info(f"{ctx.author} tried to bookmark a message in #{ctx.channel} but has no permissions.")
- embed = Bookmark.build_error_embed("You don't have permission to view this channel.")
+ embed = self.build_error_embed("You don't have permission to view this channel.")
await ctx.send(embed=embed)
return