Corrected where the asyncio loop was being called from
This commit is contained in:
parent
2590d5d354
commit
d96731019d
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue