1
0
Fork 0
mirror of synced 2024-06-26 10:10:44 +12:00

Corrected where the asyncio loop was being called from

This commit is contained in:
phxntxm 2016-10-12 21:23:01 -05:00
parent 2590d5d354
commit d96731019d

View file

@ -11,7 +11,7 @@ import asyncio
class Raffle:
def __init__(self, bot):
self.bot = bot
self.bot.create_task(self.raffle_task())
self.bot.loop.create_task(self.raffle_task())
async def raffle_task(self):
while True: