diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 61c3f17..e95d280 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -166,7 +166,7 @@ def main(): async def kron(): kron_choice = random.choice(["kaamelott","slap","kaamelott",False]) if kron_choice: - #sleep(random.choice(range(3550))) + asyncio.sleep(random.choice(range(3550))) for channel in bot.get_all_channels(): if channel.name == "général": current_chan = channel @@ -185,7 +185,7 @@ def main(): for channel in bot.get_all_channels(): if channel.name == "général": current_chan = channel - #sleep(random.choice(range(350))) + asyncio.sleep(random.choice(range(350))) ctx = await bot.get_context(current_chan.last_message) ctx.message.content = "" joke = bot.get_command('joke')