From a109b226bf6503584b4dea5a4203141e44338b85 Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 26 Oct 2020 19:23:22 +0100 Subject: 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. --- config.yml.example | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 config.yml.example (limited to 'config.yml.example') 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 -- cgit v1.2.3-18-g5258