summaryrefslogtreecommitdiffstats
path: root/config.yml.example
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2020-10-26 19:23:22 +0100
committernico <nico@magicbroccoli.de>2020-10-26 19:23:22 +0100
commita109b226bf6503584b4dea5a4203141e44338b85 (patch)
tree3b531cc3a12a099e5df169e312ba0da4a93c5bf5 /config.yml.example
Initial working release
XMPP retired MUC Bot This Bot connects to a chosen MUC to inform connecting users of the new/ different MUC they should connect to.
Diffstat (limited to 'config.yml.example')
-rw-r--r--config.yml.example28
1 files changed, 28 insertions, 0 deletions
diff --git a/config.yml.example b/config.yml.example
new file mode 100644
index 0000000..8687db7
--- /dev/null
+++ b/config.yml.example
@@ -0,0 +1,28 @@
+# bot credentials
+login:
+ jid: "james2@example.tld"
+ password: "5up3r 53cr37"
+ nick: "James2"
+
+rooms:
+# "join this room": "redirect to this room"
+ "home@conference.example.tld": "nursing_home@conference.example.tld"
+
+messages:
+ # reply to direct messages
+ # {nick}: bot's nickname
+ direct_msg: "I am {nick} only tasked to redirect people. I am a Bot Ding Ding don't reply."
+
+ # replay to group messages
+ # {user_nick}: joined user's nickname
+ # {new_room}: the configured room the bot points to
+ grp_msg: "{user_nick}, this room is retired please join xmpp:{new_room}?join."
+
+# features -- currently todo and not implemented
+features:
+ # utilize xep 249 direct muc invite
+ direct_invite: false
+
+ # what to do with the user in the retired room
+ #kick_user: false
+ ban_user: false