parent
04eaeb624d
commit
3666599487
@ -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)))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user