summaryrefslogblamecommitdiffstats
path: root/matterbridge.toml.simple
blob: b07dd5d266a0ac6f46dd7617f533a823e7429f3b (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                                    






                                  
                                             






                               
                     

                          
                     

                             






                                                                               
#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]
    useAPI=true
    #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" },
#]