change cleanup number to 10
This commit is contained in:
parent
a06abca026
commit
bae7b00f75
@ -84,7 +84,7 @@ async def on_message(message):
|
|||||||
|
|
||||||
def is_bot(m):
|
def is_bot(m):
|
||||||
return m.author == client.user
|
return m.author == client.user
|
||||||
await client.purge_from(message.channel, limit=100, check=is_bot)
|
await client.purge_from(message.channel, limit=10, check=is_bot)
|
||||||
|
|
||||||
if message.content.startswith('!decide'):
|
if message.content.startswith('!decide'):
|
||||||
await client.send_message(
|
await client.send_message(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user