From 2bb47e6f864c6ca73528875b8179deed2f5a36b9 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Fri, 15 Jan 2021 14:42:02 +0100 Subject: [PATCH] Add bots command --- CHANGELOG.md | 4 ++++ xbotlib.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c7500f..683128c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # xbotlib x.x.x (UNRELEASED) +# xbotlib 0.8.2 (2021-01-15) + +- Add `!bots` command to summon status + # xbotlib 0.8.1 (2021-01-15) - Support avatars ([#17](https://git.autonomic.zone/decentral1se/xbotlib/issues/17)) diff --git a/xbotlib.py b/xbotlib.py index 83713a8..40ad3a4 100644 --- a/xbotlib.py +++ b/xbotlib.py @@ -320,6 +320,8 @@ class Bot(ClientXMPP): self.reply(self.help, **kwargs) except AttributeError: self.reply("No help found 🤔️", **kwargs) + elif command == "bots" and "room" in kwargs: + self.reply("o/", **kwargs) else: self.log.error(f"'{command}' direct command is not recognised")