Closed ZacharyDuBois closed 10 years ago
I don't think node-irc supports connecting to ZNC but either way you should just have modubot connect directly to the IRC server. See https://modubot.net/docs.html#getting-started-configuration for details on the config file.
If just setting the port to an SSL port doesn't work, try applying the following patch and setting network.secure
in the config to true
. Let me know if that works and I'll push it to the repo.
--- Bot.ts.original 2014-07-25 12:35:23.825438416 +0300
+++ Bot.ts 2014-07-25 12:35:48.977438899 +0300
@@ -106,7 +106,8 @@
realName: config.network.realname,
channels: config.network.channels,
sasl: config.network.sasl,
- password: config.network.password
+ password: config.network.password,
+ secure: config.network.secure || false
});
var plugins = this.config.plugins;
cd /path/to/modubot/src/Modubot
patch < Bot.ts.patch # Copy the diff above to Bot.ts.patch first
cd /path/to/modubot
grunt
vi config/config.yml # Add secure: true under `network`
npm start
Fixed in the new commits :) (Not the ZNC part)
Modesto's setup is very vague and not easy. Make it something more understandable like, the config should look like an IRC client's config. Like server, port, SSL, server password, username, nick, and real name. I cannot get Modubot to connect to any network. I want Modubot to connect through my ZNC so I can have better control of it and filter what goes into it with my ZNC modules.
When I run
npm start
I get:So do you have any setup instructions for this?