Actually add event hook for CRITICAL

This commit is contained in:
jesopo 2018-08-05 11:54:24 +01:00
parent 4962b11199
commit 06289171fa

View file

@ -23,6 +23,7 @@ class Module(object):
bot.events.on("log.info").hook(self.info)
bot.events.on("log.warn").hook(self.warn)
bot.events.on("log.error").hook(self.error)
bot.events.on("log.critical").hook(self.critical)
def debug(self, event):
self._log(event, logging.DEBUG)