Add new sync bot

This commit is contained in:
Vladimir Vitkov 2017-07-24 12:57:04 +03:00
parent ac15ee0d9d
commit 3557f06ec8
4 changed files with 80 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "communication/matterbridge"]
path = communication/matterbridge
url = git@github.com:zeridon/matterbridge.git

1
communication/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
botconfig-2017.toml

75
communication/config.toml Normal file
View File

@ -0,0 +1,75 @@
[irc]
[irc.ludost]
Server="irc.ludost.net:6697"
UseTLS=true
UseSASL=false
SkipTLSVerify=false
Nick="Synchrotron"
MessageDelay=200
MessageQueue=1000
MessageLength=500
IgnoreNicks="Slacksync Slacksync-OF"
IgnoreMessages="^~~ badword"
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
ShowJoinPart=false
[slack]
[slack.openfest]
# change with real token
Token="xoxp-some-letters-and-numbers"
IconURL="https://robohash.org/{NICK}.png?size=48x48"
NickFormatter="plain"
NicksPerRow=4
EditDisable=false
EditSuffix=" (edited)"
PrefixMessagesWithNick=false
IgnoreNicks="Slacksync Slacksync-OF"
IgnoreMessages="^~~ badword"
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
ShowJoinPart=false
[api]
[api.local]
BindAddress="0.0.0.0:4242"
Buffer=1000
Token="a-real-not-disclosed-token"
[[gateway]]
name="si-general"
enable=true
[[gateway.inout]]
account="irc.ludost"
channel="#openfest"
[[gateway.inout]]
account="slack.openfest"
channel="general"
[[gateway]]
name="si-noc"
enable=true
[[gateway.inout]]
account="irc.ludost"
channel="#of-noc"
[[gateway.inout]]
account="slack.openfest"
channel="noc"
[[gateway]]
name="api-fan"
enable=true
[[gateway.in]]
account="api.local"
channel="api"
[[gateway.out]]
account="slack.openfest"
channel="general"
[[gateway.out]]
account="irc.ludost"
channel="#openfest"

@ -0,0 +1 @@
Subproject commit bd97357f8d30322dc9c9745c47b9461d862844ba