add contrepeterie a la fonction kron

This commit is contained in:
BFlow 2020-04-29 14:07:06 +02:00
parent cd30d66d72
commit 4727e7416b

View file

@ -419,7 +419,7 @@ def main():
@aiocron.crontab('50 9-23/1 * * *')
async def kron():
kron_choice = random.choice(["kaamelott", "slap", "kamoulox", False, False, False])
kron_choice = random.choice(["kaamelott", "slap", "kamoulox", "contrepeterie", False, False, False, False])
if kron_choice:
await asyncio.sleep(random.choice(range(3550)))
for channel in bot.get_all_channels():