From f2e9657effa397e3b045797957a8f2c18a4dd471 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 22 Oct 2023 19:29:51 -0400 Subject: [PATCH] misc(moderation): minor docstring change --- moderation/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index bd1450d..f77f8af 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -178,7 +178,7 @@ class Moderation(commands.Cog): return not_found_list def check_permissions(self, user: discord.User, permissions: list, ctx: Union[commands.Context, discord.Interaction] = None, guild: discord.Guild = None): - """Checks if the bot has a specific permission (or a list of permissions) in a channel.""" + """Checks if a user has a specific permission (or a list of permissions) in a channel.""" if ctx: member = ctx.guild.get_member(user.id) resolved_permissions = ctx.channel.permissions_for(member)