Paste #1YTOBiiq36NsmIp81vEe
| 95 | 95 | // see https://node-irc.readthedocs.org/en/latest/API.html#client for |
|---|---|---|
| 96 | 96 | // documentation |
| 97 | 97 | config.ircOptions = { |
| 98 | userName: 'bot', | |
| 99 | realName: 'Telegram IRC Bot', | |
| 100 | |
|
| 98 | userName: 'telegram', | |
| 99 | realName: 'Kubuntu Telegram relay', | |
| 100 | password: 'mypasswordhere', | |
| 101 | port: 6697, | |
| 101 | 102 | localAddress: null, |
| 102 | 103 | debug: false, |
| 103 | 104 | showErrors: false, |
| 104 | 105 | autoRejoin: false, |
| 105 | 106 | autoConnect: true, |
| 106 | 107 | channels: [], // auto generated, do not touch |
| 107 | secure: |
|
| 108 | secure: true, | |
| 108 | 109 | selfSigned: false, |
| 109 | 110 | certExpired: false, |
| 110 | 111 | floodProtection: true, |
| 111 | 112 | floodProtectionDelay: 1000, |
| 112 | sasl: |
|
| 113 | sasl: true, | |
| 113 | 114 | stripColors: true, |
| 114 | channelPrefixes: ' |
|
| 115 | channelPrefixes: '#', | |
| 115 | 116 | messageSplit: 512, |
| 116 | 117 | encoding: '' |
| 117 | 118 | }; |