We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3deb0dd commit 4ca5e9fCopy full SHA for 4ca5e9f
README.md
@@ -44,7 +44,11 @@ client.on("join", (msg) => {
44
}
45
});
46
47
-await client.connect("irc.libera.chat", 7000, tls = true);
+// with TLS
48
+await client.connect("irc.libera.chat", 7000, true);
49
+
50
+// no TLS
51
+await client.connect("irc.libera.chat", 6667);
52
```
53
54
Note that this code above requires the `--allow-net` option.
0 commit comments