mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-05-18 03:12:57 +12:00
user count stopped getting update, something new in python?
This commit is contained in:
parent
661debf8b0
commit
65c44fe3b1
|
@ -73,9 +73,8 @@ class MoreAdmin(commands.Cog):
|
|||
self.config.register_guild(**default_guild)
|
||||
|
||||
# initalize prefixes and add user count updater task
|
||||
self.loop = asyncio.get_event_loop()
|
||||
self.loop.create_task(self.initialize())
|
||||
self.user_task = self.loop.create_task(self.user_count_updater())
|
||||
asycnio.create_task(self.initialize())
|
||||
self.user_task = asycnio.create_task(self.user_count_updater())
|
||||
|
||||
async def initialize(self):
|
||||
await self.register_casetypes()
|
||||
|
|
Loading…
Reference in a new issue