| 1 | #WARNING: as this file contains credentials, be sure to set correct file permissions |
| 2 | [irc] |
| 3 | [irc.libera] |
| 4 | Server="irc.libera.chat:6667" |
| 5 | Nick="matterbot" |
| 6 | |
| 7 | [mattermost] |
| 8 | [mattermost.work] |
| 9 | #do not prefix it wit http:// or https:// |
| 10 | Server="yourmattermostserver.domain" |
| 11 | Team="yourteam" |
| 12 | Login="yourlogin" |
| 13 | Password="yourpass" |
| 14 | PrefixMessagesWithNick=true |
| 15 | |
| 16 | [[gateway]] |
| 17 | name="gateway1" |
| 18 | enable=true |
| 19 | [[gateway.inout]] |
| 20 | account="irc.libera" |
| 21 | channel="#testing" |
| 22 | |
| 23 | [[gateway.inout]] |
| 24 | account="mattermost.work" |
| 25 | channel="off-topic" |
| 26 | |
| 27 | #simpler config possible since v0.10.2 |
| 28 | #[[gateway]] |
| 29 | #name="gateway2" |
| 30 | #enable=true |
| 31 | #inout = [ |
| 32 | # { account="irc.libera", channel="#testing", options={key="channelkey"}}, |
| 33 | # { account="mattermost.work", channel="off-topic" }, |
| 34 | #] |
| 35 | |