diff options
| author | Rapptz <[email protected]> | 2019-04-06 22:02:54 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-04-06 22:02:58 -0400 |
| commit | 47ab24991fd7f6c28aa1f8d5ffe3ddadce0bd36b (patch) | |
| tree | 5e74172c7a5acec5024e8f9f5f7230ebc509eb32 | |
| parent | Add note about escape_markdown in Message.clean_content (diff) | |
| download | discord.py-47ab24991fd7f6c28aa1f8d5ffe3ddadce0bd36b.tar.xz discord.py-47ab24991fd7f6c28aa1f8d5ffe3ddadce0bd36b.zip | |
[commands] Remove extraneous `or`
| -rw-r--r-- | discord/ext/commands/help.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/help.py b/discord/ext/commands/help.py index bfc506d4..812b674e 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 |