From f32fabaa92b4ade16a5ddabbbaf05779eb0d85ba Mon Sep 17 00:00:00 2001 From: aliasless Date: Sat, 11 Apr 2020 07:45:27 +0000 Subject: [PATCH] wild times --- ticker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ticker.py b/ticker.py index 0e8c39a..d68f814 100644 --- a/ticker.py +++ b/ticker.py @@ -4,6 +4,7 @@ from gtts import gTTS from forex_python.converter import CurrencyRates from apscheduler.schedulers.asyncio import AsyncIOScheduler from apscheduler.triggers.cron import CronTrigger +from random import randint import asyncio import hashlib import os.path @@ -84,6 +85,7 @@ async def on_ready(): @client.event async def on_voice_state_update(member, before, after): if member.id == MATT and after.channel and after.channel.id == SMOKEYS: + await asyncio.sleep(randint(3, 30)) await member.move_to(client.get_channel(RETARD)) # only run on moves