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