Hotfix for purge

misaligned indent, fixes issue #6
This commit is contained in:
Kyler Juresic 2017-08-09 15:32:23 -05:00
parent 04eaeb624d
commit 3666599487

View File

@ -169,7 +169,7 @@ async def on_message(message):
except ValueError:
# If they dont enter a number, show them an error and return out of the function
await client.send_message(message.channel, "You need to give me a number, you entered {}".format(message.content.split()[1]))
return
return
await client.purge_from(message.channel, limit=num, check=is_me)
# await client.send_message(message.channel, 'Deleted {} message(s)'.format(len(deleted)))