From e20141f437aa88e15939684bafa831b7cab3f3e7 Mon Sep 17 00:00:00 2001 From: alemidev Date: Sun, 23 Jan 2022 15:41:07 +0100 Subject: [PATCH] made it log rather than critical --- treepuncher/notifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/treepuncher/notifier.py b/treepuncher/notifier.py index b6cad23..13a56a0 100644 --- a/treepuncher/notifier.py +++ b/treepuncher/notifier.py @@ -13,7 +13,7 @@ class Notifier: def report(self) -> str: return '\n'.join(str(fn()).strip() for fn in self._report_functions) - def notify(self, text, critical:bool = False, **kwargs): + def notify(self, text, log:bool = False, **kwargs): print(text) async def initialize(self, _client:'Treepuncher'):