From 62f4e52e5ff7bf2875ea768c48bf276d614c5f6f Mon Sep 17 00:00:00 2001 From: Robin5605 Date: Sat, 18 Mar 2023 22:43:04 -0500 Subject: Use instead of full class name --- bot/exts/utilities/bookmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot') 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 -- cgit v1.2.3