From 47ab24991fd7f6c28aa1f8d5ffe3ddadce0bd36b Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 6 Apr 2019 22:02:54 -0400 Subject: [PATCH] [commands] Remove extraneous `or` --- discord/ext/commands/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/commands/help.py b/discord/ext/commands/help.py index bfc506d48..812b674ed 100644 --- a/discord/ext/commands/help.py +++ b/discord/ext/commands/help.py @@ -331,7 +331,7 @@ class HelpCommand: """ command_name = self._command_impl.name ctx = self.context - if ctx is None or or ctx.command is None or ctx.command.qualified_name != command_name: + if ctx is None or ctx.command is None or ctx.command.qualified_name != command_name: return command_name return ctx.invoked_with