This repository has been archived by the owner on Oct 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
matterbridge-sample.toml
159 lines (135 loc) · 5.34 KB
/
matterbridge-sample.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
[irc]
[irc.esper]
Server="irc.esper.net:6697"
Nick="yuno"
#Enable SASL (PLAIN) authentication. (freenode requires this from eg AWS hosts)
#It uses NickServNick and NickServPassword as login and password
#OPTIONAL (default false)
UseSASL=true
#If you registered your bot with a service like Nickserv on freenode.
#Also being used when UseSASL=true
#OPTIONAL
NickServNick="username"
NickServPassword="password"
#Nicks you want to ignore.
#Messages from those users will not be sent to other bridges.
#OPTIONAL
IgnoreNicks="cord build-kitteh git-kitteh build-kitteh_ git-kitteh_ Shocky spammer"
# RemoteNickFormat defines how remote users appear on this bridge
# The string "{NICK}" (case sensitive) will be replaced by the actual nick / username.
# The string "{BRIDGE}" (case sensitive) will be replaced by the sending bridge
# The string "{LABEL}" (case sensitive) will be replaced by Label= field of the sending bridge
# The string "{PROTOCOL}" (case sensitive) will be replaced by the protocol used by the bridge
# The string "{NOPINGNICK}" (case sensitive) will be replaced by the actual nick / username, but with a ZWSP inside the nick, so the irc user with the same nick won't get pinged. See https://github.com/42wim/matterbridge/issues/175 for more information
#OPTIONAL (default empty)
# RemoteNickFormat="<\u0002{NOPINGNICK}\u0002> "
RemoteNickFormat="<\u0002{NOPINGNICK}\u0002> "
ShowJoinPart=true
NoSendJoinPart=true
#StripNick only allows alphanumerical nicks. See https://github.com/42wim/matterbridge/issues/285
#It will strip other characters from the nick
#OPTIONAL (default false)
StripNick=false
Label="esper"
###################################################################
#discord section
###################################################################
[discord.ailab]
#Token to connect with Discord API
#You can get your token by following the instructions on
#https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token
#If you want roles/groups mentions to be shown with names instead of ID, you'll need to give your bot the "Manage Roles" permission.
#REQUIRED
Token=""
#REQUIRED
Server="AI Lab"
#Disable sending of edits to other bridges
#OPTIONAL (default false)
EditDisable=false
#Message to be appended to every edited message
#OPTIONAL (default empty)
EditSuffix=" (edited)"
#Nicks you want to ignore.
#Messages from those users will not be sent to other bridges.
#OPTIONAL
IgnoreNicks="[cord] ircspammer2"
#Enable to show users joins/parts from other bridges
#Only works hiding/show messages from irc and mattermost bridge for now
#OPTIONAL (default false)
ShowJoinPart=true
# RemoteNickFormat="<**{NOPINGNICK}**> "
# RemoteNickFormat="`{LABEL}` <**{NOPINGNICK}**> "
# RemoteNickFormat="<**{NOPINGNICK}**> "
RemotenickFormat="**{NOPINGNICK}**: "
# extra label that can be used in the RemoteNickFormat
# optional (default empty)
Label="AI Lab"
#StripNick only allows alphanumerical nicks. See https://github.com/42wim/matterbridge/issues/285
#It will strip other characters from the nick
#OPTIONAL (default false)
# StripNick=false
###################################################################
#API
###################################################################
[sibyl.api]
[sibyl.api.local_1]
BindAddress="0.0.0.0:4242"
#OPTIONAL (no authorization if token is empty)
# Token=""
Buffer=1000
RemoteNickFormat="{NICK}"
ShowJoinPart = true
[sibyl.api.local_2]
BindAddress="0.0.0.0:4343"
#OPTIONAL (no authorization if token is empty)
# Token="mytoken"
Buffer=1000
RemoteNickFormat="{NICK}"
ShowJoinPart = true
# [general]
# RemoteNickFormat defines how remote users appear on this bridge
# The string "{NICK}" (case sensitive) will be replaced by the actual nick / username.
# The string "{BRIDGE}" (case sensitive) will be replaced by the sending bridge
# The string "{LABEL}" (case sensitive) will be replaced by Label= field of the sending bridge
# The string "{PROTOCOL}" (case sensitive) will be replaced by the protocol used by the bridge
# OPTIONAL (default empty)
# RemoteNickFormat="{NICK}"
# Label="fallback"
[[gateway]]
name="matterbridgetest"
enable=true
[[gateway.inout]]
account="irc.esper"
channel="#matterbridgetest"
[gateway.in.options]
#OPTIONAL - your irc / xmpp channel key
key="bridges"
[[gateway.inout]]
account="discord.ailab"
channel="bridgetest"
[[gateway.inout]]
account="discord.ailab"
channel="webhooktest"
#OPTIONAL - webhookurl only works for discord (it needs a different URL for each cahnnel)
[gateway.inout.options]
webhookurl="https://discordapp.com/sibyl.api/webhooks/1234567890"
[[gateway.inout]]
account="sibyl.api.local_1"
channel="sibyl.api"
[[gateway.inout]]
account="sibyl.api.local_2"
channel="sibyl.api"
#[[gateway]]
#name="matterlink"
#enable=true
# [[gateway.inout]]
# account="irc.esper"
# channel="#matterlink"
#
# # [[gateway.inout]]
# # account="irc.twitch"
# # channel="#NikkyAi"
#
# [[gateway.inout]]
# account="discord.ailab"
# channel="matterlink"