2017-06-08 21:42:00 +00:00
|
|
|
#WARNING: as this file contains credentials, be sure to set correct file permissions
|
2016-09-18 19:04:28 +00:00
|
|
|
[irc]
|
|
|
|
[irc.freenode]
|
|
|
|
Server="irc.freenode.net:6667"
|
|
|
|
Nick="matterbot"
|
|
|
|
|
|
|
|
[mattermost]
|
|
|
|
[mattermost.work]
|
|
|
|
useAPI=true
|
2017-04-19 19:57:40 +00:00
|
|
|
#do not prefix it wit http:// or https://
|
|
|
|
Server="yourmattermostserver.domain"
|
2016-09-18 19:04:28 +00:00
|
|
|
Team="yourteam"
|
|
|
|
Login="yourlogin"
|
|
|
|
Password="yourpass"
|
|
|
|
PrefixMessagesWithNick=true
|
|
|
|
|
|
|
|
[[gateway]]
|
|
|
|
name="gateway1"
|
|
|
|
enable=true
|
2017-06-08 21:42:00 +00:00
|
|
|
[[gateway.inout]]
|
2016-09-18 19:04:28 +00:00
|
|
|
account="irc.freenode"
|
|
|
|
channel="#testing"
|
|
|
|
|
2017-06-08 21:42:00 +00:00
|
|
|
[[gateway.inout]]
|
2016-12-01 21:15:40 +00:00
|
|
|
account="mattermost.work"
|
|
|
|
channel="off-topic"
|
|
|
|
|
2017-03-25 18:13:47 +00:00
|
|
|
#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" },
|
|
|
|
#]
|