From c96c88d76b3ab4563fcfd305ca1807c71b6afea4 Mon Sep 17 00:00:00 2001 From: PuffDip Date: Fri, 25 May 2018 12:50:49 +0200 Subject: [PATCH] Change call for new function --- src/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__main__.py b/src/__main__.py index 284eddc..872c286 100644 --- a/src/__main__.py +++ b/src/__main__.py @@ -85,7 +85,7 @@ class SebiMachine(commands.Bot, LoadConfig, Loggable): async def on_ready(self): """On ready function""" 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): """