Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

Viewing file on branch master

1#WARNING: as this file contains credentials, be sure to set correct file permissions
2
3[irc]
4 [irc.foo]
5 Server="irc.myfooserver.com:6667"
6 Nick="matterbot"
7
8# Can also connect to multiple different servers of the same protocol:
9[irc]
10 [irc.bar]
11 Server="irc.mybarserver.com:6667"
12 Nick="matterbot"
13
14[telegram]
15 [telegram.mytelegram]
16 Token="123456789:FillInYourTokenHereThatIsImportant"
17
18[mattermost]
19 [mattermost.work]
20 #do not prefix it wit http:// or https://
21 Server="yourmattermostserver.domain"
22 Team="yourteam"
23 Login="yourlogin"
24 Password="yourpass"
25 PrefixMessagesWithNick=true
26
27# Bridge 1: Copy all messages from all rooms to all rooms.
28# This shows how you can have multiple rooms in a single bridge.
29[[gateway]]
30name="cats-are-cool"
31enable=true
32 [[gateway.inout]]
33 account="irc.foo"
34 channel="#cats-are-cool"
35 [[gateway.inout]]
36 account="irc.bar"
37 channel="#cats-are-cool"
38 [[gateway.inout]]
39 account="telegram.mytelegram"
40 channel="-1234567890123"
41 [[gateway.inout]]
42 account="mattermost.work"
43 channel="cats-are-cool"
44
45# Bridge 2: Copy some messages from some rooms to some rooms.
46# This shows how you can have multiple bridges.
47[[gateway]]
48name="dog-announcements"
49enable=true
50 [[gateway.in]]
51 account="irc.foo"
52 channel="#dog-announcements"
53 [[gateway.in]]
54 account="irc.bar"
55 channel="#dog-announcements"
56 [[gateway.out]]
57 account="telegram.mytelegram"
58 channel="-9876543219876"
59 [[gateway.out]]
60 account="mattermost.work"
61 channel="dog-announcements"
62