kiwiirc / irc-framework

🛠️ A better IRC framework for node.js. For bots and full clients.
MIT License
180 stars 62 forks source link

Can't join "hidden from list" channels #357

Closed Nemoopla closed 1 year ago

Nemoopla commented 1 year ago

It's hidden channel (not on the server list) with no password. I can join it with any irc client with #channelname, but can't connect with code. I can join any other channel on this server through code. What could be the problem?

Nemoopla commented 1 year ago

So i figured out that i can't join any hidden channels how can i do it? image

brunnre8 commented 1 year ago

don't see the code doing anything but emit a raw join event. If I were you, use the raw event and log everything that happens, then go from there.

irc.on("raw", function (message) {
// whatever
})
Nemoopla commented 1 year ago

don't see the code doing anything but emit a raw join event. If I were you, use the raw event and log everything that happens, then go from there.

irc.on("raw", function (message) {
// whatever
})

Thank you for response. I realised that its SSL only channel. So i need to cofigure webirc parameter but i can't figure out how to do it right. I keep getting ERROR :Closing link [WEBIRC: you don't match any configured WebIRC hosts.]

webirc: {
        password: '',
        username: '*',
        hostname: 'users.host.isp.net',
        ip: '1.1.1.1',
        options: {
            secure: true,
            'local-port': 6697,
            'remote-port': 21726,
        },

How to cinfigure it right? Do i need to put certificates or it's unnecessary?

Nemoopla commented 1 year ago

solved with tls: true