{"action":"opened","issue":{"url":"https://api.github.com/repos/reactiflux/discord-irc/issues/55","repository_url":"https://api.github.com/repos/reactiflux/discord-irc","labels_url":"https://api.github.com/repos/reactiflux/discord-irc/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/reactiflux/discord-irc/issues/55/comments","events_url":"https://api.github.com/repos/reactiflux/discord-irc/issues/55/events","html_url":"https://github.com/reactiflux/discord-irc/issues/55","id":148995637,"number":55,"title":"Unable to Connect to Twitch","user":{"login":"smashedr","id":6071159,"avatar_url":"https://avatars.githubusercontent.com/u/6071159?v=3","gravatar_id":"","url":"https://api.github.com/users/smashedr","html_url":"https://github.com/smashedr","followers_url":"https://api.github.com/users/smashedr/followers","following_url":"https://api.github.com/users/smashedr/following{/other_user}","gists_url":"https://api.github.com/users/smashedr/gists{/gist_id}","starred_url":"https://api.github.com/users/smashedr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smashedr/subscriptions","organizations_url":"https://api.github.com/users/smashedr/orgs","repos_url":"https://api.github.com/users/smashedr/repos","events_url":"https://api.github.com/users/smashedr/events{/privacy}","received_events_url":"https://api.github.com/users/smashedr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-17T20:51:21Z","updated_at":"2016-04-17T20:51:21Z","closed_at":null,"body":"Looking over DEBUG, I never see it send the extra option \"PASS\":\r\n\r\n17 Apr 13:43:03 - Sending irc NICK/USER\r\n17 Apr 13:43:03 - SEND: NICK ircusername\r\n17 Apr 13:43:04 - SEND: USER ircusername 8 * ircusername\r\n17 Apr 13:43:13 - Connection got \"end\" event\r\n17 Apr 13:43:13 - Connection got \"close\" event\r\n17 Apr 13:43:13 - Disconnected: reconnecting\r\n17 Apr 13:43:13 - Waiting 10000ms before retrying\r\nCyclingPingTimer 0: server silent for too long, let's send a PING\r\n17 Apr 13:43:19 - SEND: PING 1\r\n17 Apr 13:43:19 - Network error: Error: This socket has been ended by the other party\r\n17 Apr 13:43:23 - Sending irc NICK/USER\r\n17 Apr 13:43:24 - SEND: NICK ircusername\r\n17 Apr 13:43:24 - SEND: USER ircusername 8 * ircusername\r\n\r\nI am specifying the option in the config like so:\r\n\r\n[\r\n  {\r\n    \"nickname\": \"ircusername\",\r\n    \"server\": \"irc.twitch.tv\",\r\n    \"discordEmail\": \"email@address\",\r\n    \"discordPassword\": \"password\",\r\n    \"autoSendCommands\": [ // Commands that will be sent on connect\r\n      [\"PASS\", \"oauth:password\"]\r\n    ],\r\n    \"channelMapping\": { // Maps each Discord-channel to an IRC-channel, used to$\r\n      \"#general\": \"#ircchannel\" // Add channel keys after the chan$\r\n    },\r\n    \"ircOptions\": { // Optional node-irc options\r\n        \"debug\": \"true\",\r\n        \"showErrors\": \"true\",\r\n        \"retryDelay\": \"10000\"\r\n    }\r\n  }\r\n]\r\n\r\nI am able to connect fine over telnet, however, you must send USER, PASS, then NICK:\r\n\r\n[user@host ~]$ telnet irc.twitch.tv 6667\r\nTrying 52.26.71.250...\r\nConnected to irc.twitch.tv.\r\nEscape character is '^]'.\r\nUSER ircusername 8 * ircusername\r\nPASS oauth:password\r\nNICK ircusername\r\n:tmi.twitch.tv 001 ircusername :Welcome, GLHF!\r\n:tmi.twitch.tv 002 ircusername :Your host is tmi.twitch.tv\r\n:tmi.twitch.tv 003 ircusername :This server is rather new\r\n:tmi.twitch.tv 004 ircusername :-\r\n:tmi.twitch.tv 375 ircusername :-\r\n:tmi.twitch.tv 372 ircusername :You are in a maze of twisty passages, all alike.\r\n:tmi.twitch.tv 376 ircusername :>\r\n\r\n\r\nHow can this connection be accomplished using this library? Thanks in advance."}}