wild times

This commit is contained in:
aliasless 2020-04-11 07:45:27 +00:00
parent e7b9125f3c
commit f32fabaa92
1 changed files with 2 additions and 0 deletions

View File

@ -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