diff options
| author | 2018-08-05 11:54:24 +0100 | |
|---|---|---|
| committer | 2018-08-05 11:54:24 +0100 | |
| commit | 06289171fad5a4bee31d6815331bf7ce90f0aeed (patch) | |
| tree | 4c7e3d7839526c705f1fb6b4afb5731904011a02 /modules/logging.py | |
| parent | Add CRITICAL log level to logging.py (diff) | |
| signature | ||
Actually add event hook for CRITICAL
Diffstat (limited to 'modules/logging.py')
| -rw-r--r-- | modules/logging.py | 1 |
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) |
