From 296137911fdb952dc6acd74a8b78ad3d3d1522ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20B=C3=BCchner?= Date: Sat, 6 Apr 2024 23:58:56 +0000 Subject: [PATCH] Update USAGE.md --- USAGE.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/USAGE.md b/USAGE.md index fae9e7f..4198822 100644 --- a/USAGE.md +++ b/USAGE.md @@ -17,6 +17,19 @@ The available facts are available at [here](https://maubot.haxxors.com/factoids/ **Response**: `Bob: Ubuntu 24.04 (Noble Numbat) will be the 40th...` +### Placeholders + +Facts can include placeholders. Currently supported are: + - Members of Launchpad groups: + - List of moderators and admins in a room + + Both can be combined. If a group includes other teams there is no recursion. + + **Example**: `We need help here Defenders! {launchpad_group.matrix-defenders} {moderators}` + + **Response**: `We need help here Defenders! [matrix-defenders-member1} [matrix-defenders-member2] [...] [room-admin1] [room-moderator1]` + + ## Launchpad Bugs The bot reacts to URLs from bugs.launchpad.net and to "bug [#]bugnumber" in messages.