1
0
Fork 0
mirror of synced 2024-06-02 18:54:33 +12:00

Correct order of if statement

This commit is contained in:
Phxntxm 2017-05-18 20:42:42 -05:00
parent fcf88680ce
commit 6f4a5ee0ba

View file

@ -40,7 +40,7 @@ class Miscallaneous:
if command is not None: if command is not None:
command = self.bot.get_command(command) command = self.bot.get_command(command)
if command is not None: if command is None:
for cmd in utils.get_all_commands(self.bot): for cmd in utils.get_all_commands(self.bot):
if not await cmd.can_run(ctx): if not await cmd.can_run(ctx):
continue continue