Don't log since end-user might have implemented
This commit is contained in:
parent
7dd96a9f30
commit
c1c778af66
@ -341,8 +341,6 @@ class Bot(ClientXMPP):
|
|||||||
self.reply(self.help, **kwargs)
|
self.reply(self.help, **kwargs)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
self.reply("No help found 🤔️", **kwargs)
|
self.reply("No help found 🤔️", **kwargs)
|
||||||
else:
|
|
||||||
self.log.error(f"'{command}' command is not recognised")
|
|
||||||
|
|
||||||
def meta(self, message, **kwargs):
|
def meta(self, message, **kwargs):
|
||||||
"""Handle "/" style commands with built-in responses."""
|
"""Handle "/" style commands with built-in responses."""
|
||||||
@ -350,8 +348,6 @@ class Bot(ClientXMPP):
|
|||||||
|
|
||||||
if command == "bots":
|
if command == "bots":
|
||||||
self.reply("🖐️", **kwargs)
|
self.reply("🖐️", **kwargs)
|
||||||
else:
|
|
||||||
self.log.error(f"'{command}' command is not recognised")
|
|
||||||
|
|
||||||
|
|
||||||
class EchoBot(Bot):
|
class EchoBot(Bot):
|
||||||
|
Reference in New Issue
Block a user