From c1c778af66e42913403457ae1fbfe533a43e9e7b Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Fri, 15 Jan 2021 21:21:07 +0100 Subject: [PATCH] Don't log since end-user might have implemented --- xbotlib.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xbotlib.py b/xbotlib.py index 80d3364..89afa2f 100644 --- a/xbotlib.py +++ b/xbotlib.py @@ -341,8 +341,6 @@ class Bot(ClientXMPP): self.reply(self.help, **kwargs) except AttributeError: self.reply("No help found 🤔️", **kwargs) - else: - self.log.error(f"'{command}' command is not recognised") def meta(self, message, **kwargs): """Handle "/" style commands with built-in responses.""" @@ -350,8 +348,6 @@ class Bot(ClientXMPP): if command == "bots": self.reply("🖐️", **kwargs) - else: - self.log.error(f"'{command}' command is not recognised") class EchoBot(Bot):