add contrepeterie a la fonction kron
This commit is contained in:
parent
cd30d66d72
commit
4727e7416b
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ def main():
|
||||||
|
|
||||||
@aiocron.crontab('50 9-23/1 * * *')
|
@aiocron.crontab('50 9-23/1 * * *')
|
||||||
async def kron():
|
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:
|
if kron_choice:
|
||||||
await asyncio.sleep(random.choice(range(3550)))
|
await asyncio.sleep(random.choice(range(3550)))
|
||||||
for channel in bot.get_all_channels():
|
for channel in bot.get_all_channels():
|
||||||
|
|
Loading…
Reference in a new issue