fix logging bug

This commit is contained in:
Firepup Sixfifty 2023-11-17 20:24:30 -06:00
parent a084e4d620
commit 9e0bbf1782
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

2
bot.py
View file

@ -162,7 +162,7 @@ class bot(bare.bot):
return data
def log(self, message: str, level: str = "LOG") -> None:
logs.log(message, self.server)
logs.log(message, self.server, level)
def exit(self, message: str) -> NoReturn:
logs.log(message, self.server, "EXIT")