From 4727e7416b8eafc444c2a700afde770814e82e80 Mon Sep 17 00:00:00 2001 From: BFlow Date: Wed, 29 Apr 2020 14:07:06 +0200 Subject: [PATCH] add contrepeterie a la fonction kron --- kabot/kabot/kabot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index ee1085a..5e9e1fb 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -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():