Made status check readable in terminal to check if its working

This commit is contained in:
PuffDip 2018-05-25 13:13:25 +02:00
parent feab37f496
commit bffce08c93

View File

@ -79,7 +79,7 @@ class SebiMachine(commands.Bot, LoadConfig, Loggable):
# Request url # Request url
async with session.get('http://chillout.ueuo.com/') as request: async with session.get('http://chillout.ueuo.com/') as request:
# print the response status # print the response status
self.logger.debug(f'http://chillout.ueuo.com/ status : {request.status}') self.logger.info(f'http://chillout.ueuo.com/ status : {request.status}')
await asyncio.sleep(3600) # sleep for one hour await asyncio.sleep(3600) # sleep for one hour
async def on_ready(self): async def on_ready(self):