Correct before decorator
This commit is contained in:
parent
d85454f6cf
commit
4ba94c106c
|
@ -88,7 +88,7 @@ WHERE
|
||||||
except (discord.Forbidden, discord.HTTPException, AttributeError):
|
except (discord.Forbidden, discord.HTTPException, AttributeError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@check_channels.before_task
|
@check_channels.before_loop
|
||||||
async def before_check_channels(self):
|
async def before_check_channels(self):
|
||||||
await self.get_online_users()
|
await self.get_online_users()
|
||||||
await asyncio.sleep(30)
|
await asyncio.sleep(30)
|
||||||
|
|
Loading…
Reference in a new issue