This commit is contained in:
nya~ 2018-06-21 19:17:29 +01:00 committed by GitHub
parent 1ddf767074
commit b189f2ca5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ class SebiMachine(commands.Bot, LoadConfig, Loggable):
logging.exception(f'Could not load {cog}', exc_info=(type(ex), ex, ex.__traceback__)) logging.exception(f'Could not load {cog}', exc_info=(type(ex), ex, ex.__traceback__))
self.failed_cogs_on_startup[cog] = ex self.failed_cogs_on_startup[cog] = ex
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")
with open(f"src/config/reboot", "r") as f: with open(f"src/config/reboot", "r") as f: