diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2023-03-09 21:51:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-09 21:51:11 +0100 |
commit | d5980303e5344b5c7c0804f712c4c5365fd6c929 (patch) | |
tree | 8c415db007e1bc287c8c6a5a900a2f18719c32d3 /matterbridge.toml.multi | |
parent | f436ae7b31f51e1322e8fd4fa5242092d5a3cd5c (diff) | |
download | matterbridge-msglm-d5980303e5344b5c7c0804f712c4c5365fd6c929.tar.gz matterbridge-msglm-d5980303e5344b5c7c0804f712c4c5365fd6c929.tar.bz2 matterbridge-msglm-d5980303e5344b5c7c0804f712c4c5365fd6c929.zip |
Provide a multi-room multi-bridge example (#1972)
Diffstat (limited to 'matterbridge.toml.multi')
-rw-r--r-- | matterbridge.toml.multi | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/matterbridge.toml.multi b/matterbridge.toml.multi new file mode 100644 index 00000000..35a9e347 --- /dev/null +++ b/matterbridge.toml.multi @@ -0,0 +1,61 @@ +#WARNING: as this file contains credentials, be sure to set correct file permissions + +[irc] + [irc.foo] + Server="irc.myfooserver.com:6667" + Nick="matterbot" + +# Can also connect to multiple different servers of the same protocol: +[irc] + [irc.bar] + Server="irc.mybarserver.com:6667" + Nick="matterbot" + +[telegram] + [telegram.mytelegram] + Token="123456789:FillInYourTokenHereThatIsImportant" + +[mattermost] + [mattermost.work] + #do not prefix it wit http:// or https:// + Server="yourmattermostserver.domain" + Team="yourteam" + Login="yourlogin" + Password="yourpass" + PrefixMessagesWithNick=true + +# Bridge 1: Copy all messages from all rooms to all rooms. +# This shows how you can have multiple rooms in a single bridge. +[[gateway]] +name="cats-are-cool" +enable=true + [[gateway.inout]] + account="irc.foo" + channel="#cats-are-cool" + [[gateway.inout]] + account="irc.bar" + channel="#cats-are-cool" + [[gateway.inout]] + account="telegram.mytelegram" + channel="-1234567890123" + [[gateway.inout]] + account="mattermost.work" + channel="cats-are-cool" + +# Bridge 2: Copy some messages from some rooms to some rooms. +# This shows how you can have multiple bridges. +[[gateway]] +name="dog-announcements" +enable=true + [[gateway.in]] + account="irc.foo" + channel="#dog-announcements" + [[gateway.in]] + account="irc.bar" + channel="#dog-announcements" + [[gateway.out]] + account="telegram.mytelegram" + channel="-9876543219876" + [[gateway.out]] + account="mattermost.work" + channel="dog-announcements" |