fix logging bug
This commit is contained in:
parent
a084e4d620
commit
9e0bbf1782
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -162,7 +162,7 @@ class bot(bare.bot):
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def log(self, message: str, level: str = "LOG") -> None:
|
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:
|
def exit(self, message: str) -> NoReturn:
|
||||||
logs.log(message, self.server, "EXIT")
|
logs.log(message, self.server, "EXIT")
|
||||||
|
|
Loading…
Reference in a new issue