{"action":"created","comment":{"url":"https://api.github.com/repos/RITlug/teleirc/pulls/comments/143882732","pull_request_review_id":68460088,"id":143882732,"diff_hunk":"@@ -0,0 +1,23 @@\n+/**\n+ * Exception that gets thrown when there's an error.\n+ */\n+class TeleIrcException {\n+\n+  // ---------------- Constructor ----------------\n+\n+  /**\n+   * Constructor.\n+   * @param errorCode - Unique number for this error.\n+   * @param message - Corresponding Message.\n+   */\n+  constructor(errorCode, message) {\n+    this.errorCode = errorCode;\n+    this.message = message;\n+  }\n+","path":"lib/TeleIrcException.js","position":17,"original_position":17,"commit_id":"363574cf9ee84493556fed73a06c27551e31a524","original_commit_id":"caadbd44a9280d90fc9c734c2453c712e3f73912","user":{"login":"robbyoconnor","id":23088,"avatar_url":"https://avatars3.githubusercontent.com/u/23088?v=4","gravatar_id":"","url":"https://api.github.com/users/robbyoconnor","html_url":"https://github.com/robbyoconnor","followers_url":"https://api.github.com/users/robbyoconnor/followers","following_url":"https://api.github.com/users/robbyoconnor/following{/other_user}","gists_url":"https://api.github.com/users/robbyoconnor/gists{/gist_id}","starred_url":"https://api.github.com/users/robbyoconnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbyoconnor/subscriptions","organizations_url":"https://api.github.com/users/robbyoconnor/orgs","repos_url":"https://api.github.com/users/robbyoconnor/repos","events_url":"https://api.github.com/users/robbyoconnor/events{/privacy}","received_events_url":"https://api.github.com/users/robbyoconnor/received_events","type":"User","site_admin":false},"body":"Fixed. ","created_at":"2017-10-10T23:57:14Z","updated_at":"2017-10-10T23:57:14Z","html_url":"https://github.com/RITlug/teleirc/pull/40#discussion_r143882732","pull_request_url":"https://api.github.com/repos/RITlug/teleirc/pulls/40","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/RITlug/teleirc/pulls/comments/143882732"},"html":{"href":"https://github.com/RITlug/teleirc/pull/40#discussion_r143882732"},"pull_request":{"href":"https://api.github.com/repos/RITlug/teleirc/pulls/40"}},"in_reply_to_id":143880460},"pull_request":{"url":"https://api.github.com/repos/RITlug/teleirc/pulls/40","id":145578003,"html_url":"https://github.com/RITlug/teleirc/pull/40","diff_url":"https://github.com/RITlug/teleirc/pull/40.diff","patch_url":"https://github.com/RITlug/teleirc/pull/40.patch","issue_url":"https://api.github.com/repos/RITlug/teleirc/issues/40","number":40,"state":"open","locked":false,"title":"[RDY] A lot of refactoring and bug fixes","user":{"login":"robbyoconnor","id":23088,"avatar_url":"https://avatars3.githubusercontent.com/u/23088?v=4","gravatar_id":"","url":"https://api.github.com/users/robbyoconnor","html_url":"https://github.com/robbyoconnor","followers_url":"https://api.github.com/users/robbyoconnor/followers","following_url":"https://api.github.com/users/robbyoconnor/following{/other_user}","gists_url":"https://api.github.com/users/robbyoconnor/gists{/gist_id}","starred_url":"https://api.github.com/users/robbyoconnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbyoconnor/subscriptions","organizations_url":"https://api.github.com/users/robbyoconnor/orgs","repos_url":"https://api.github.com/users/robbyoconnor/repos","events_url":"https://api.github.com/users/robbyoconnor/events{/privacy}","received_events_url":"https://api.github.com/users/robbyoconnor/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-10-10T00:56:52Z","updated_at":"2017-10-10T23:57:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ca8114511d549c26c816869b52918355fdb9a19","assignee":{"login":"jflory7","id":4721034,"avatar_url":"https://avatars2.githubusercontent.com/u/4721034?v=4","gravatar_id":"","url":"https://api.github.com/users/jflory7","html_url":"https://github.com/jflory7","followers_url":"https://api.github.com/users/jflory7/followers","following_url":"https://api.github.com/users/jflory7/following{/other_user}","gists_url":"https://api.github.com/users/jflory7/gists{/gist_id}","starred_url":"https://api.github.com/users/jflory7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jflory7/subscriptions","organizations_url":"https://api.github.com/users/jflory7/orgs","repos_url":"https://api.github.com/users/jflory7/repos","events_url":"https://api.github.com/users/jflory7/events{/privacy}","received_events_url":"https://api.github.com/users/jflory7/received_events","type":"User","site_admin":false},"assignees":[{"login":"jflory7","id":4721034,"avatar_url":"https://avatars2.githubusercontent.com/u/4721034?v=4","gravatar_id":"","url":"https://api.github.com/users/jflory7","html_url":"https://github.com/jflory7","followers_url":"https://api.github.com/users/jflory7/followers","following_url":"https://api.github.com/users/jflory7/following{/other_user}","gists_url":"https://api.github.com/users/jflory7/gists{/gist_id}","starred_url":"https://api.github.com/users/jflory7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jflory7/subscriptions","organizations_url":"https://api.github.com/users/jflory7/orgs","repos_url":"https://api.github.com/users/jflory7/repos","events_url":"https://api.github.com/users/jflory7/events{/privacy}","received_events_url":"https://api.github.com/users/jflory7/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"repkam09","id":1110731,"avatar_url":"https://avatars2.githubusercontent.com/u/1110731?v=4","gravatar_id":"","url":"https://api.github.com/users/repkam09","html_url":"https://github.com/repkam09","followers_url":"https://api.github.com/users/repkam09/followers","following_url":"https://api.github.com/users/repkam09/following{/other_user}","gists_url":"https://api.github.com/users/repkam09/gists{/gist_id}","starred_url":"https://api.github.com/users/repkam09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repkam09/subscriptions","organizations_url":"https://api.github.com/users/repkam09/orgs","repos_url":"https://api.github.com/users/repkam09/repos","events_url":"https://api.github.com/users/repkam09/events{/privacy}","received_events_url":"https://api.github.com/users/repkam09/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/RITlug/teleirc/pulls/40/commits","review_comments_url":"https://api.github.com/repos/RITlug/teleirc/pulls/40/comments","review_comment_url":"https://api.github.com/repos/RITlug/teleirc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RITlug/teleirc/issues/40/comments","statuses_url":"https://api.github.com/repos/RITlug/teleirc/statuses/363574cf9ee84493556fed73a06c27551e31a524","head":{"label":"robbyoconnor:fix-config-dotenv","ref":"fix-config-dotenv","sha":"363574cf9ee84493556fed73a06c27551e31a524","user":{"login":"robbyoconnor","id":23088,"avatar_url":"https://avatars3.githubusercontent.com/u/23088?v=4","gravatar_id":"","url":"https://api.github.com/users/robbyoconnor","html_url":"https://github.com/robbyoconnor","followers_url":"https://api.github.com/users/robbyoconnor/followers","following_url":"https://api.github.com/users/robbyoconnor/following{/other_user}","gists_url":"https://api.github.com/users/robbyoconnor/gists{/gist_id}","starred_url":"https://api.github.com/users/robbyoconnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbyoconnor/subscriptions","organizations_url":"https://api.github.com/users/robbyoconnor/orgs","repos_url":"https://api.github.com/users/robbyoconnor/repos","events_url":"https://api.github.com/users/robbyoconnor/events{/privacy}","received_events_url":"https://api.github.com/users/robbyoconnor/received_events","type":"User","site_admin":false},"repo":{"id":73055786,"name":"teleirc","full_name":"robbyoconnor/teleirc","owner":{"login":"robbyoconnor","id":23088,"avatar_url":"https://avatars3.githubusercontent.com/u/23088?v=4","gravatar_id":"","url":"https://api.github.com/users/robbyoconnor","html_url":"https://github.com/robbyoconnor","followers_url":"https://api.github.com/users/robbyoconnor/followers","following_url":"https://api.github.com/users/robbyoconnor/following{/other_user}","gists_url":"https://api.github.com/users/robbyoconnor/gists{/gist_id}","starred_url":"https://api.github.com/users/robbyoconnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbyoconnor/subscriptions","organizations_url":"https://api.github.com/users/robbyoconnor/orgs","repos_url":"https://api.github.com/users/robbyoconnor/repos","events_url":"https://api.github.com/users/robbyoconnor/events{/privacy}","received_events_url":"https://api.github.com/users/robbyoconnor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robbyoconnor/teleirc","description":"NodeJS implementation of a Telegram <=> IRC bridge for use with any IRC channel and Telegram group","fork":true,"url":"https://api.github.com/repos/robbyoconnor/teleirc","forks_url":"https://api.github.com/repos/robbyoconnor/teleirc/forks","keys_url":"https://api.github.com/repos/robbyoconnor/teleirc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robbyoconnor/teleirc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robbyoconnor/teleirc/teams","hooks_url":"https://api.github.com/repos/robbyoconnor/teleirc/hooks","issue_events_url":"https://api.github.com/repos/robbyoconnor/teleirc/issues/events{/number}","events_url":"https://api.github.com/repos/robbyoconnor/teleirc/events","assignees_url":"https://api.github.com/repos/robbyoconnor/teleirc/assignees{/user}","branches_url":"https://api.github.com/repos/robbyoconnor/teleirc/branches{/branch}","tags_url":"https://api.github.com/repos/robbyoconnor/teleirc/tags","blobs_url":"https://api.github.com/repos/robbyoconnor/teleirc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robbyoconnor/teleirc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robbyoconnor/teleirc/git/refs{/sha}","trees_url":"https://api.github.com/repos/robbyoconnor/teleirc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robbyoconnor/teleirc/statuses/{sha}","languages_url":"https://api.github.com/repos/robbyoconnor/teleirc/languages","stargazers_url":"https://api.github.com/repos/robbyoconnor/teleirc/stargazers","contributors_url":"https://api.github.com/repos/robbyoconnor/teleirc/contributors","subscribers_url":"https://api.github.com/repos/robbyoconnor/teleirc/subscribers","subscription_url":"https://api.github.com/repos/robbyoconnor/teleirc/subscription","commits_url":"https://api.github.com/repos/robbyoconnor/teleirc/commits{/sha}","git_commits_url":"https://api.github.com/repos/robbyoconnor/teleirc/git/commits{/sha}","comments_url":"https://api.github.com/repos/robbyoconnor/teleirc/comments{/number}","issue_comment_url":"https://api.github.com/repos/robbyoconnor/teleirc/issues/comments{/number}","contents_url":"https://api.github.com/repos/robbyoconnor/teleirc/contents/{+path}","compare_url":"https://api.github.com/repos/robbyoconnor/teleirc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robbyoconnor/teleirc/merges","archive_url":"https://api.github.com/repos/robbyoconnor/teleirc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robbyoconnor/teleirc/downloads","issues_url":"https://api.github.com/repos/robbyoconnor/teleirc/issues{/number}","pulls_url":"https://api.github.com/repos/robbyoconnor/teleirc/pulls{/number}","milestones_url":"https://api.github.com/repos/robbyoconnor/teleirc/milestones{/number}","notifications_url":"https://api.github.com/repos/robbyoconnor/teleirc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robbyoconnor/teleirc/labels{/name}","releases_url":"https://api.github.com/repos/robbyoconnor/teleirc/releases{/id}","deployments_url":"https://api.github.com/repos/robbyoconnor/teleirc/deployments","created_at":"2016-11-07T08:09:59Z","updated_at":"2016-11-07T08:10:00Z","pushed_at":"2017-10-10T23:49:05Z","git_url":"git://github.com/robbyoconnor/teleirc.git","ssh_url":"git@github.com:robbyoconnor/teleirc.git","clone_url":"https://github.com/robbyoconnor/teleirc.git","svn_url":"https://github.com/robbyoconnor/teleirc","homepage":"https://telegram.me/teleirc","size":124,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"RITlug:devel","ref":"devel","sha":"f06b08ca9fa2e9f70a55ad72d6db18a46bc5fff2","user":{"login":"RITlug","id":2584758,"avatar_url":"https://avatars0.githubusercontent.com/u/2584758?v=4","gravatar_id":"","url":"https://api.github.com/users/RITlug","html_url":"https://github.com/RITlug","followers_url":"https://api.github.com/users/RITlug/followers","following_url":"https://api.github.com/users/RITlug/following{/other_user}","gists_url":"https://api.github.com/users/RITlug/gists{/gist_id}","starred_url":"https://api.github.com/users/RITlug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RITlug/subscriptions","organizations_url":"https://api.github.com/users/RITlug/orgs","repos_url":"https://api.github.com/users/RITlug/repos","events_url":"https://api.github.com/users/RITlug/events{/privacy}","received_events_url":"https://api.github.com/users/RITlug/received_events","type":"Organization","site_admin":false},"repo":{"id":57975534,"name":"teleirc","full_name":"RITlug/teleirc","owner":{"login":"RITlug","id":2584758,"avatar_url":"https://avatars0.githubusercontent.com/u/2584758?v=4","gravatar_id":"","url":"https://api.github.com/users/RITlug","html_url":"https://github.com/RITlug","followers_url":"https://api.github.com/users/RITlug/followers","following_url":"https://api.github.com/users/RITlug/following{/other_user}","gists_url":"https://api.github.com/users/RITlug/gists{/gist_id}","starred_url":"https://api.github.com/users/RITlug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RITlug/subscriptions","organizations_url":"https://api.github.com/users/RITlug/orgs","repos_url":"https://api.github.com/users/RITlug/repos","events_url":"https://api.github.com/users/RITlug/events{/privacy}","received_events_url":"https://api.github.com/users/RITlug/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RITlug/teleirc","description":"NodeJS implementation of a Telegram <=> IRC bridge for use with any IRC channel and Telegram group","fork":false,"url":"https://api.github.com/repos/RITlug/teleirc","forks_url":"https://api.github.com/repos/RITlug/teleirc/forks","keys_url":"https://api.github.com/repos/RITlug/teleirc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RITlug/teleirc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RITlug/teleirc/teams","hooks_url":"https://api.github.com/repos/RITlug/teleirc/hooks","issue_events_url":"https://api.github.com/repos/RITlug/teleirc/issues/events{/number}","events_url":"https://api.github.com/repos/RITlug/teleirc/events","assignees_url":"https://api.github.com/repos/RITlug/teleirc/assignees{/user}","branches_url":"https://api.github.com/repos/RITlug/teleirc/branches{/branch}","tags_url":"https://api.github.com/repos/RITlug/teleirc/tags","blobs_url":"https://api.github.com/repos/RITlug/teleirc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RITlug/teleirc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RITlug/teleirc/git/refs{/sha}","trees_url":"https://api.github.com/repos/RITlug/teleirc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RITlug/teleirc/statuses/{sha}","languages_url":"https://api.github.com/repos/RITlug/teleirc/languages","stargazers_url":"https://api.github.com/repos/RITlug/teleirc/stargazers","contributors_url":"https://api.github.com/repos/RITlug/teleirc/contributors","subscribers_url":"https://api.github.com/repos/RITlug/teleirc/subscribers","subscription_url":"https://api.github.com/repos/RITlug/teleirc/subscription","commits_url":"https://api.github.com/repos/RITlug/teleirc/commits{/sha}","git_commits_url":"https://api.github.com/repos/RITlug/teleirc/git/commits{/sha}","comments_url":"https://api.github.com/repos/RITlug/teleirc/comments{/number}","issue_comment_url":"https://api.github.com/repos/RITlug/teleirc/issues/comments{/number}","contents_url":"https://api.github.com/repos/RITlug/teleirc/contents/{+path}","compare_url":"https://api.github.com/repos/RITlug/teleirc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RITlug/teleirc/merges","archive_url":"https://api.github.com/repos/RITlug/teleirc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RITlug/teleirc/downloads","issues_url":"https://api.github.com/repos/RITlug/teleirc/issues{/number}","pulls_url":"https://api.github.com/repos/RITlug/teleirc/pulls{/number}","milestones_url":"https://api.github.com/repos/RITlug/teleirc/milestones{/number}","notifications_url":"https://api.github.com/repos/RITlug/teleirc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RITlug/teleirc/labels{/name}","releases_url":"https://api.github.com/repos/RITlug/teleirc/releases{/id}","deployments_url":"https://api.github.com/repos/RITlug/teleirc/deployments","created_at":"2016-05-03T14:28:08Z","updated_at":"2017-10-03T15:59:54Z","pushed_at":"2017-10-10T23:49:06Z","git_url":"git://github.com/RITlug/teleirc.git","ssh_url":"git@github.com:RITlug/teleirc.git","clone_url":"https://github.com/RITlug/teleirc.git","svn_url":"https://github.com/RITlug/teleirc","homepage":"https://t.me/teleirc","size":96,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":5,"forks":13,"open_issues":5,"watchers":13,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/RITlug/teleirc/pulls/40"},"html":{"href":"https://github.com/RITlug/teleirc/pull/40"},"issue":{"href":"https://api.github.com/repos/RITlug/teleirc/issues/40"},"comments":{"href":"https://api.github.com/repos/RITlug/teleirc/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/RITlug/teleirc/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/RITlug/teleirc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RITlug/teleirc/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/RITlug/teleirc/statuses/363574cf9ee84493556fed73a06c27551e31a524"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"robbyoconnor"}}