Add bots command
This commit is contained in:
parent
82f6ba0681
commit
2bb47e6f86
|
@ -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))
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue