{"action":"created","issue":{"url":"https://api.github.com/repos/IrcDotNet/IrcDotNet/issues/21","repository_url":"https://api.github.com/repos/IrcDotNet/IrcDotNet","labels_url":"https://api.github.com/repos/IrcDotNet/IrcDotNet/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/IrcDotNet/IrcDotNet/issues/21/comments","events_url":"https://api.github.com/repos/IrcDotNet/IrcDotNet/issues/21/events","html_url":"https://github.com/IrcDotNet/IrcDotNet/issues/21","id":138761179,"number":21,"title":"What am I doing wrong?","user":{"login":"PFCKrutonium","id":3945538,"avatar_url":"https://avatars.githubusercontent.com/u/3945538?v=3","gravatar_id":"","url":"https://api.github.com/users/PFCKrutonium","html_url":"https://github.com/PFCKrutonium","followers_url":"https://api.github.com/users/PFCKrutonium/followers","following_url":"https://api.github.com/users/PFCKrutonium/following{/other_user}","gists_url":"https://api.github.com/users/PFCKrutonium/gists{/gist_id}","starred_url":"https://api.github.com/users/PFCKrutonium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PFCKrutonium/subscriptions","organizations_url":"https://api.github.com/users/PFCKrutonium/orgs","repos_url":"https://api.github.com/users/PFCKrutonium/repos","events_url":"https://api.github.com/users/PFCKrutonium/events{/privacy}","received_events_url":"https://api.github.com/users/PFCKrutonium/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-06T06:56:56Z","updated_at":"2016-03-06T07:08:48Z","closed_at":null,"body":"![error](https://cloud.githubusercontent.com/assets/3945538/13552795/ad30a33e-e33e-11e5-9381-3486c103a47e.PNG)\r\n\r\nHonestly I have no clue. Connecting to Twitch."},"comment":{"url":"https://api.github.com/repos/IrcDotNet/IrcDotNet/issues/comments/192818315","html_url":"https://github.com/IrcDotNet/IrcDotNet/issues/21#issuecomment-192818315","issue_url":"https://api.github.com/repos/IrcDotNet/IrcDotNet/issues/21","id":192818315,"user":{"login":"PFCKrutonium","id":3945538,"avatar_url":"https://avatars.githubusercontent.com/u/3945538?v=3","gravatar_id":"","url":"https://api.github.com/users/PFCKrutonium","html_url":"https://github.com/PFCKrutonium","followers_url":"https://api.github.com/users/PFCKrutonium/followers","following_url":"https://api.github.com/users/PFCKrutonium/following{/other_user}","gists_url":"https://api.github.com/users/PFCKrutonium/gists{/gist_id}","starred_url":"https://api.github.com/users/PFCKrutonium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PFCKrutonium/subscriptions","organizations_url":"https://api.github.com/users/PFCKrutonium/orgs","repos_url":"https://api.github.com/users/PFCKrutonium/repos","events_url":"https://api.github.com/users/PFCKrutonium/events{/privacy}","received_events_url":"https://api.github.com/users/PFCKrutonium/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T07:08:48Z","updated_at":"2016-03-06T07:08:48Z","body":"Source:\r\n\r\n```\r\nImports IrcDotNet\r\nModule Module1\r\n    Dim WithEvents Client As New TwitchIrcClient\r\n    Dim User As IrcUser\r\n\r\n    Dim OAuth As String = \"oauth password\"\r\n    Dim Username As String = \"PFCKrutonium\"\r\n\r\n    Dim Server As String = \"irc.twitch.tv\"\r\n    Sub Main()\r\n        Console.WriteLine(\"Connecting to Twitch as \" & Username)\r\n        Client.FloodPreventer = New IrcStandardFloodPreventer(4, 2000)\r\n\r\n        'Client.Connect(Server, False,\r\n        '                    New IrcUserRegistrationInfo() {\r\n        '                        NickName = Username,\r\n        '                        Password = password,\r\n        '                        Username = Username})\r\n        Dim Info As New IrcUserRegistrationInfo\r\n        Info.NickName = Username\r\n        Info.Password = OAuth\r\n        Info.UserName = Username\r\n\r\n        Client.Connect(Server, False, Info)\r\n\r\n        Console.ReadKey()\r\n    End Sub\r\n\r\n    Sub Connected(ByVal sender As Object, ByVal e As EventArgs) Handles Client.Connected\r\n        Console.WriteLine(\"Connected\")\r\n    End Sub\r\n\r\n    Sub Registered(ByVal sender As Object, ByVal e As EventArgs) Handles Client.Registered\r\n        Console.WriteLine(\"Registered\")\r\n        Client = DirectCast(sender, IrcClient)\r\n\r\n        'Client.LocalUser.NoticeReceived += IrcClient_LocalUser_NoticeReceived;\r\n        '    Client.LocalUser.MessageReceived += IrcClient_LocalUser_MessageReceived;\r\n        '    Client.LocalUser.JoinedChannel += IrcClient_LocalUser_JoinedChannel;\r\n        '    Client.LocalUser.LeftChannel += IrcClient_LocalUser_LeftChannel;\r\n\r\n\r\n    End Sub\r\n    Sub ConnectFailed(ByVal sender As Object, ByVal e As EventArgs) Handles Client.ConnectFailed\r\n        Console.WriteLine(\"Connection Failed\")\r\n        Console.ReadKey()\r\n        Environment.Exit(1)\r\n    End Sub\r\n\r\n    Sub MessageRecieved(ByVal Sender As Object, ByVal e As IrcMessageEventArgs)\r\n\r\n    End Sub\r\n\r\nEnd Module\r\n```"}}