summaryrefslogblamecommitdiffstats
path: root/matterbridge.toml.simple
blob: 277f0708ccd0ab5e7ad8cf188d303da75f76936d (plain) (tree)



















                                        


                          



                             
                             







                                                                               
[irc]
    [irc.freenode]
    Server="irc.freenode.net:6667"
    Nick="matterbot"

[mattermost]
    [mattermost.work]
    useAPI=true
    Server="yourmattermostserver.domain"
    Team="yourteam"
    Login="yourlogin"
    Password="yourpass"
    PrefixMessagesWithNick=true

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

    [[gateway.out]]
    account="irc.freenode"
    channel="#testing"

    [[gateway.in]]
    account="mattermost.work"
    channel="off-topic"
    
    [[gateway.out]]
    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" },
#]