{"action":"created","issue":{"url":"https://api.github.com/repos/Shizmob/pydle/issues/25","labels_url":"https://api.github.com/repos/Shizmob/pydle/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/Shizmob/pydle/issues/25/comments","events_url":"https://api.github.com/repos/Shizmob/pydle/issues/25/events","html_url":"https://github.com/Shizmob/pydle/pull/25","id":69259093,"number":25,"title":"Add support for User and Channel models (#15).","user":{"login":"rfw","id":56240,"avatar_url":"https://avatars.githubusercontent.com/u/56240?v=3","gravatar_id":"","url":"https://api.github.com/users/rfw","html_url":"https://github.com/rfw","followers_url":"https://api.github.com/users/rfw/followers","following_url":"https://api.github.com/users/rfw/following{/other_user}","gists_url":"https://api.github.com/users/rfw/gists{/gist_id}","starred_url":"https://api.github.com/users/rfw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfw/subscriptions","organizations_url":"https://api.github.com/users/rfw/orgs","repos_url":"https://api.github.com/users/rfw/repos","events_url":"https://api.github.com/users/rfw/events{/privacy}","received_events_url":"https://api.github.com/users/rfw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Shizmob","id":763230,"avatar_url":"https://avatars.githubusercontent.com/u/763230?v=3","gravatar_id":"","url":"https://api.github.com/users/Shizmob","html_url":"https://github.com/Shizmob","followers_url":"https://api.github.com/users/Shizmob/followers","following_url":"https://api.github.com/users/Shizmob/following{/other_user}","gists_url":"https://api.github.com/users/Shizmob/gists{/gist_id}","starred_url":"https://api.github.com/users/Shizmob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shizmob/subscriptions","organizations_url":"https://api.github.com/users/Shizmob/orgs","repos_url":"https://api.github.com/users/Shizmob/repos","events_url":"https://api.github.com/users/Shizmob/events{/privacy}","received_events_url":"https://api.github.com/users/Shizmob/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-18T02:48:27Z","updated_at":"2015-04-18T04:20:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Shizmob/pydle/pulls/25","html_url":"https://github.com/Shizmob/pydle/pull/25","diff_url":"https://github.com/Shizmob/pydle/pull/25.diff","patch_url":"https://github.com/Shizmob/pydle/pull/25.patch"},"body":"This is extremely backwards-incompatible with v0.8 as it changes many\r\ninterfaces for interacting with user and channel information, namely:\r\n\r\n - All previous dictionary fields have been converted to attributes,\r\n   e.g. user['username'] is now user.username. This extends to results\r\n   from WHOIS (WhoisInfo) and WHOWAS (WhowasInfo).\r\n\r\n - Instead of nicknames and channel names, User and Channel models are\r\n   now passed to on_* hooks (BREAKING).\r\n\r\n - _sync_user has been completely removed and replaced with\r\n   _parse_and_sync_user (and, to some extent, _get_or_create_user).\r\n   Everything that made use of _parse_user now also synchronizes with\r\n   the user database for consistency (may be breaking).\r\n\r\n - A new metaclass, ClientMeta, has been introduced to allow dynamic\r\n   composition of the User and Channel classes on the feature classes\r\n   (internal only).\r\n\r\n - User/Channel objects have the message() method when RFC1459 support\r\n   is active (feature)."},"comment":{"url":"https://api.github.com/repos/Shizmob/pydle/issues/comments/94124165","html_url":"https://github.com/Shizmob/pydle/pull/25#issuecomment-94124165","issue_url":"https://api.github.com/repos/Shizmob/pydle/issues/25","id":94124165,"user":{"login":"rfw","id":56240,"avatar_url":"https://avatars.githubusercontent.com/u/56240?v=3","gravatar_id":"","url":"https://api.github.com/users/rfw","html_url":"https://github.com/rfw","followers_url":"https://api.github.com/users/rfw/followers","following_url":"https://api.github.com/users/rfw/following{/other_user}","gists_url":"https://api.github.com/users/rfw/gists{/gist_id}","starred_url":"https://api.github.com/users/rfw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfw/subscriptions","organizations_url":"https://api.github.com/users/rfw/orgs","repos_url":"https://api.github.com/users/rfw/repos","events_url":"https://api.github.com/users/rfw/events{/privacy}","received_events_url":"https://api.github.com/users/rfw/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T04:20:35Z","updated_at":"2015-04-18T04:20:35Z","body":"and now tests are done :dog2: "}}