fix utf-8 encoding issues in logging FileHandler, round sleep time logs, add hard table logic, fix switched row/col key in generate

This commit is contained in:
Xevion
2021-01-24 19:12:00 -06:00
parent 9bebdafd7c
commit bc204fe13d
3 changed files with 30 additions and 22 deletions

View File

@@ -46,7 +46,7 @@ class Cooldown(object):
async def sleep(self) -> None:
if self.ready:
return
logger.debug(f'Sleeping for {self.time_left} before sending a command.')
logger.debug(f'Sleeping for {round(self.time_left, 2)}s before sending a command.')
await asyncio.sleep(self.time_left)
@property