Change call for new function
This commit is contained in:
parent
92e312fec3
commit
c96c88d76b
@ -85,7 +85,7 @@ class SebiMachine(commands.Bot, LoadConfig, Loggable):
|
|||||||
async def on_ready(self):
|
async def on_ready(self):
|
||||||
"""On ready function"""
|
"""On ready function"""
|
||||||
self.maintenance and self.logger.warning('MAINTENANCE ACTIVE')
|
self.maintenance and self.logger.warning('MAINTENANCE ACTIVE')
|
||||||
await self.keep_website_alive()
|
await asyncio.get_event_loop().create_task(self.keep_website_alive())
|
||||||
|
|
||||||
async def on_command_error(self, ctx, error):
|
async def on_command_error(self, ctx, error):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user