made it log rather than critical

This commit is contained in:
əlemi 2022-01-23 15:41:07 +01:00
parent 8a8837bfd8
commit e20141f437

View file

@ -13,7 +13,7 @@ class Notifier:
def report(self) -> str: def report(self) -> str:
return '\n'.join(str(fn()).strip() for fn in self._report_functions) 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) print(text)
async def initialize(self, _client:'Treepuncher'): async def initialize(self, _client:'Treepuncher'):