aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/logging.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/logging.py b/modules/logging.py
index 6e36f2d5..3e2aa65d 100644
--- a/modules/logging.py
+++ b/modules/logging.py
@@ -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)