Skip to content

Commit 4ca5e9f

Browse files
simonsanjeromeludmann
authored andcommitted
Replace freenode in example with libera.chat
1 parent 3deb0dd commit 4ca5e9f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ client.on("join", (msg) => {
4444
}
4545
});
4646

47-
await client.connect("irc.libera.chat", 7000, tls = true);
47+
// with TLS
48+
await client.connect("irc.libera.chat", 7000, true);
49+
50+
// no TLS
51+
await client.connect("irc.libera.chat", 6667);
4852
```
4953

5054
Note that this code above requires the `--allow-net` option.

0 commit comments

Comments
 (0)