Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Connecting to IRC from Node.js

node v6.17.1
version: 1.0.0
endpointsharetweet
const irc = require('irc'); const config = { realName: 'Test; cf https://runkit.com/tripu/5914592a8518d10011506236', channels: ['#test'] }; const client = new irc.Client('irc.w3.org', 'tripu-bot', config); if (client) { client.addListener('error', (err) => console.debug(err)); client.addListener('registered', () => client.say('#test', "Hi! I'm alive!")); }
Loading…

no comments

    sign in to comment