IRC: update discord-irc & TeleIRC configs

This commit is contained in:
Aminda Suomalainen 2018-02-03 12:57:27 +02:00
parent 21e3fe3d9d
commit e1063a1c89
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
4 changed files with 12 additions and 7 deletions

View File

@ -12,11 +12,12 @@
"374659905983873025": "#piraattinuoret", "374659905983873025": "#piraattinuoret",
"374867585868496897": "#pinu_hallitus", "374867585868496897": "#pinu_hallitus",
"375207988459470849": "#test", "375207988459470849": "#test",
"381011785962225664": "#aaltopiraatit" "381011785962225664": "#aaltopiraatit",
"389413571831791626": "#hepihalko"
}, },
"ircOptions": { "ircOptions": {
"userName": "D6", "userName": "D6",
"realName": "Admin: Mikaela#6940", "realName": "Discord.gg Relay ~ Mikaela#6940",
"password": "CENSORED", "password": "CENSORED",
"port": "6697", "port": "6697",
"secure": "true", "secure": "true",
@ -27,7 +28,6 @@
"ircText": "<{$displayUsername}> {$text}", "ircText": "<{$displayUsername}> {$text}",
"discord": "<`{$author}`> {$withMentions}" "discord": "<`{$author}`> {$withMentions}"
}, },
"ircNickColor": false, "ircNickColor": false
"commandCharacters": ["!", "_"]
} }
] ]

View File

@ -40,14 +40,13 @@ config.nameFormat = '%username%';
config.usernameFallbackFormat = '%firstName% %lastName%'; config.usernameFallbackFormat = '%firstName% %lastName%';
config.ircNick = 'T4'; config.ircNick = 'T4';
config.ircServer = 'au.pirateirc.net'; config.ircServer = 'fi.pirateirc.net';
// array of commands to send to IRC server as soon as we're connected, // array of commands to send to IRC server as soon as we're connected,
// example: config.ircPerformCmds = [ // example: config.ircPerformCmds = [
// 'PRIVMSG Q@CServe.quakenet.org :AUTH <username> <password>' // 'PRIVMSG Q@CServe.quakenet.org :AUTH <username> <password>'
// ] // ]
// config.ircPerformCmds = ['NICKSERV identify Euforia CENSORED']
config.ircPerformCmds = ['NICKSERV identify T4 CENSORED', 'NICKSERV regain T4', 'mode T4 -i+gRQ', 'CHANSERV invite #messi', 'JOIN #messi']; config.ircPerformCmds = ['NICKSERV identify T4 CENSORED', 'NICKSERV regain T4', 'mode T4 -i+gRQ', 'CHANSERV invite #messi', 'JOIN #messi'];
//config.ircPerformCmds = []; //config.ircPerformCmds = [];
@ -165,6 +164,11 @@ config.channels = [
{ {
ircChan: '#globalPirates', ircChan: '#globalPirates',
tgGroup: 'Global Pirates' tgGroup: 'Global Pirates'
},
{
ircChan: '#antikupla',
tgGroup: 'Antikupla'
} }
//{ //{

View File

@ -0,0 +1 @@
{"#sailfishos-porters":"-156634556","Mer-meeting":-1001100500036,"Mikaela - group":-1001149130394,"Mikaela - supergroup":"-1001149130394","NemoMobile":-1001100341174,"Sailfish Hackclub Helsinki":-146527899,"Sailfish OS Fan Club":"-1001094603738","akunapu":"-1001067264661"}

View File

@ -31,7 +31,7 @@ config.mediaConversions = {
// Add some randomness to url when relaying media // Add some randomness to url when relaying media
// Use 0 to disable // Use 0 to disable
config.mediaRandomLength = 0; config.mediaRandomLength = 10;
// Age in seconds after which a Telegram message is not relayed, this prevents // Age in seconds after which a Telegram message is not relayed, this prevents
// spamming the IRC channel if your bot was offline for a long time // spamming the IRC channel if your bot was offline for a long time