diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index e3c2b5adfd..053aae3d38 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -2116,8 +2116,9 @@ async def test(ctx): raise TypeError(f"Invalid permission(s): {', '.join(invalid)}") def predicate(ctx: Context) -> bool: - ch = ctx.channel - permissions = ch.permissions_for(ctx.author) # type: ignore + if ctx.channel.type == ChannelType.private: + return True + permissions = ctx.channel.permissions_for(ctx.author) # type: ignore missing = [perm for perm, value in perms.items() if getattr(permissions, perm) != value]