Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. Code:
  2. ...
  3. io.on('connection', function(socket){
  4. console.log('a user connected');
  5. var irc = require("irc");
  6. var config = {
  7. channels: ["#mal1t1a"],
  8. server: "lion-o.hopto.org",
  9. botName: "א",
  10. oauth: "oauth:YOURUNIQUEOAUTHTOKEN",
  11. autoRejoin: false,
  12. autoConnect: true,
  13. floodProtection: true,
  14. floodProtectionDelay: 3000,
  15. encoding: 'windows-1255'
  16. };
  17. ...
  18.  
  19. Result:
  20. a user connected
  21. IRC Error: { prefix: 'lion-o.hopto.org',
  22. server: 'lion-o.hopto.org',
  23. command: 'err_erroneusnickname',
  24. rawCommand: '432',
  25. commandType: 'error',
  26. args: [ 'א', 'Nickname is unavailable: Illegal characters' ] }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement