summaryrefslogtreecommitdiffstats
path: root/matterbridge.toml.simple
blob: bba12a64ce11c4e60092f0ad02451bb17d7b6037 (plain) (blame)
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
#WARNING: as this file contains credentials, be sure to set correct file permissions
[irc]
    [irc.freenode]
    Server="irc.freenode.net:6667"
    Nick="matterbot"

[mattermost]
    [mattermost.work]
    #do not prefix it wit http:// or https://
    Server="yourmattermostserver.domain" 
    Team="yourteam"
    Login="yourlogin"
    Password="yourpass"
    PrefixMessagesWithNick=true

[[gateway]]
name="gateway1"
enable=true
    [[gateway.inout]]
    account="irc.freenode"
    channel="#testing"

    [[gateway.inout]]
    account="mattermost.work"
    channel="off-topic"
    
#simpler config possible since v0.10.2
#[[gateway]]
#name="gateway2"
#enable=true
#inout = [
#    { account="irc.freenode", channel="#testing", options={key="channelkey"}},
#    { account="mattermost.work", channel="off-topic" },
#]