{"action":"created","comment":{"url":"https://api.github.com/repos/discord-csharp/MODiX/pulls/comments/204216744","pull_request_review_id":139264360,"id":204216744,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDIxNjc0NA==","diff_hunk":"@@ -0,0 +1,44 @@\n+﻿namespace Modix.Services.Notes\n+{\n+    using System;\n+    using System.Threading.Tasks;\n+    using Data;\n+    using Data.Models.Moderation;\n+    using Discord;\n+    using Serilog;\n+\n+    public class NoteCreatorService : INoteCreatorService\n+    {\n+        private readonly ModixContext _modixContext;\n+\n+        public NoteCreatorService(ModixContext modixContext)\n+        {\n+            _modixContext = modixContext;\n+        }\n+\n+        public async Task<bool> Create(IGuildUser user, string message, string recordedBy)","path":"Modix.Services/Notes/NoteCreatorService.cs","position":19,"original_position":19,"commit_id":"2755fca1b6de2f7f5412345138c8918c11a6b731","original_commit_id":"2755fca1b6de2f7f5412345138c8918c11a6b731","user":{"login":"JasonHughes94","id":20440805,"node_id":"MDQ6VXNlcjIwNDQwODA1","avatar_url":"https://avatars2.githubusercontent.com/u/20440805?v=4","gravatar_id":"","url":"https://api.github.com/users/JasonHughes94","html_url":"https://github.com/JasonHughes94","followers_url":"https://api.github.com/users/JasonHughes94/followers","following_url":"https://api.github.com/users/JasonHughes94/following{/other_user}","gists_url":"https://api.github.com/users/JasonHughes94/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonHughes94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonHughes94/subscriptions","organizations_url":"https://api.github.com/users/JasonHughes94/orgs","repos_url":"https://api.github.com/users/JasonHughes94/repos","events_url":"https://api.github.com/users/JasonHughes94/events{/privacy}","received_events_url":"https://api.github.com/users/JasonHughes94/received_events","type":"User","site_admin":false},"body":"It's just a personal preference thing for me. You either successfully create a Note or you don't. The error is caught in the service and logged so I just thought in this case that would be enough.\r\n\r\nIf the service returns false in any way we replay a message to the user that there has been an error.","created_at":"2018-07-21T17:40:01Z","updated_at":"2018-07-21T17:40:01Z","html_url":"https://github.com/discord-csharp/MODiX/pull/99#discussion_r204216744","pull_request_url":"https://api.github.com/repos/discord-csharp/MODiX/pulls/99","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/discord-csharp/MODiX/pulls/comments/204216744"},"html":{"href":"https://github.com/discord-csharp/MODiX/pull/99#discussion_r204216744"},"pull_request":{"href":"https://api.github.com/repos/discord-csharp/MODiX/pulls/99"}},"in_reply_to_id":204216574},"pull_request":{"url":"https://api.github.com/repos/discord-csharp/MODiX/pulls/99","id":203007932,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzMDA3OTMy","html_url":"https://github.com/discord-csharp/MODiX/pull/99","diff_url":"https://github.com/discord-csharp/MODiX/pull/99.diff","patch_url":"https://github.com/discord-csharp/MODiX/pull/99.patch","issue_url":"https://api.github.com/repos/discord-csharp/MODiX/issues/99","number":99,"state":"open","locked":false,"title":"Added Notes Module","user":{"login":"JasonHughes94","id":20440805,"node_id":"MDQ6VXNlcjIwNDQwODA1","avatar_url":"https://avatars2.githubusercontent.com/u/20440805?v=4","gravatar_id":"","url":"https://api.github.com/users/JasonHughes94","html_url":"https://github.com/JasonHughes94","followers_url":"https://api.github.com/users/JasonHughes94/followers","following_url":"https://api.github.com/users/JasonHughes94/following{/other_user}","gists_url":"https://api.github.com/users/JasonHughes94/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonHughes94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonHughes94/subscriptions","organizations_url":"https://api.github.com/users/JasonHughes94/orgs","repos_url":"https://api.github.com/users/JasonHughes94/repos","events_url":"https://api.github.com/users/JasonHughes94/events{/privacy}","received_events_url":"https://api.github.com/users/JasonHughes94/received_events","type":"User","site_admin":false},"body":"Added Services to Add, Remove and Search for notes","created_at":"2018-07-21T12:28:36Z","updated_at":"2018-07-21T17:40:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4450921df4806f0724a11b7f20f6892e5aaf41f1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/discord-csharp/MODiX/pulls/99/commits","review_comments_url":"https://api.github.com/repos/discord-csharp/MODiX/pulls/99/comments","review_comment_url":"https://api.github.com/repos/discord-csharp/MODiX/pulls/comments{/number}","comments_url":"https://api.github.com/repos/discord-csharp/MODiX/issues/99/comments","statuses_url":"https://api.github.com/repos/discord-csharp/MODiX/statuses/2755fca1b6de2f7f5412345138c8918c11a6b731","head":{"label":"JasonHughes94:NoteModule","ref":"NoteModule","sha":"2755fca1b6de2f7f5412345138c8918c11a6b731","user":{"login":"JasonHughes94","id":20440805,"node_id":"MDQ6VXNlcjIwNDQwODA1","avatar_url":"https://avatars2.githubusercontent.com/u/20440805?v=4","gravatar_id":"","url":"https://api.github.com/users/JasonHughes94","html_url":"https://github.com/JasonHughes94","followers_url":"https://api.github.com/users/JasonHughes94/followers","following_url":"https://api.github.com/users/JasonHughes94/following{/other_user}","gists_url":"https://api.github.com/users/JasonHughes94/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonHughes94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonHughes94/subscriptions","organizations_url":"https://api.github.com/users/JasonHughes94/orgs","repos_url":"https://api.github.com/users/JasonHughes94/repos","events_url":"https://api.github.com/users/JasonHughes94/events{/privacy}","received_events_url":"https://api.github.com/users/JasonHughes94/received_events","type":"User","site_admin":false},"repo":{"id":123648589,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM2NDg1ODk=","name":"MODiX","full_name":"JasonHughes94/MODiX","owner":{"login":"JasonHughes94","id":20440805,"node_id":"MDQ6VXNlcjIwNDQwODA1","avatar_url":"https://avatars2.githubusercontent.com/u/20440805?v=4","gravatar_id":"","url":"https://api.github.com/users/JasonHughes94","html_url":"https://github.com/JasonHughes94","followers_url":"https://api.github.com/users/JasonHughes94/followers","following_url":"https://api.github.com/users/JasonHughes94/following{/other_user}","gists_url":"https://api.github.com/users/JasonHughes94/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonHughes94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonHughes94/subscriptions","organizations_url":"https://api.github.com/users/JasonHughes94/orgs","repos_url":"https://api.github.com/users/JasonHughes94/repos","events_url":"https://api.github.com/users/JasonHughes94/events{/privacy}","received_events_url":"https://api.github.com/users/JasonHughes94/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JasonHughes94/MODiX","description":"Discord Bot handling basic moderation needs, soon implements statistics.","fork":true,"url":"https://api.github.com/repos/JasonHughes94/MODiX","forks_url":"https://api.github.com/repos/JasonHughes94/MODiX/forks","keys_url":"https://api.github.com/repos/JasonHughes94/MODiX/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JasonHughes94/MODiX/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JasonHughes94/MODiX/teams","hooks_url":"https://api.github.com/repos/JasonHughes94/MODiX/hooks","issue_events_url":"https://api.github.com/repos/JasonHughes94/MODiX/issues/events{/number}","events_url":"https://api.github.com/repos/JasonHughes94/MODiX/events","assignees_url":"https://api.github.com/repos/JasonHughes94/MODiX/assignees{/user}","branches_url":"https://api.github.com/repos/JasonHughes94/MODiX/branches{/branch}","tags_url":"https://api.github.com/repos/JasonHughes94/MODiX/tags","blobs_url":"https://api.github.com/repos/JasonHughes94/MODiX/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JasonHughes94/MODiX/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JasonHughes94/MODiX/git/refs{/sha}","trees_url":"https://api.github.com/repos/JasonHughes94/MODiX/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JasonHughes94/MODiX/statuses/{sha}","languages_url":"https://api.github.com/repos/JasonHughes94/MODiX/languages","stargazers_url":"https://api.github.com/repos/JasonHughes94/MODiX/stargazers","contributors_url":"https://api.github.com/repos/JasonHughes94/MODiX/contributors","subscribers_url":"https://api.github.com/repos/JasonHughes94/MODiX/subscribers","subscription_url":"https://api.github.com/repos/JasonHughes94/MODiX/subscription","commits_url":"https://api.github.com/repos/JasonHughes94/MODiX/commits{/sha}","git_commits_url":"https://api.github.com/repos/JasonHughes94/MODiX/git/commits{/sha}","comments_url":"https://api.github.com/repos/JasonHughes94/MODiX/comments{/number}","issue_comment_url":"https://api.github.com/repos/JasonHughes94/MODiX/issues/comments{/number}","contents_url":"https://api.github.com/repos/JasonHughes94/MODiX/contents/{+path}","compare_url":"https://api.github.com/repos/JasonHughes94/MODiX/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JasonHughes94/MODiX/merges","archive_url":"https://api.github.com/repos/JasonHughes94/MODiX/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JasonHughes94/MODiX/downloads","issues_url":"https://api.github.com/repos/JasonHughes94/MODiX/issues{/number}","pulls_url":"https://api.github.com/repos/JasonHughes94/MODiX/pulls{/number}","milestones_url":"https://api.github.com/repos/JasonHughes94/MODiX/milestones{/number}","notifications_url":"https://api.github.com/repos/JasonHughes94/MODiX/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JasonHughes94/MODiX/labels{/name}","releases_url":"https://api.github.com/repos/JasonHughes94/MODiX/releases{/id}","deployments_url":"https://api.github.com/repos/JasonHughes94/MODiX/deployments","created_at":"2018-03-03T01:30:01Z","updated_at":"2018-07-21T12:27:51Z","pushed_at":"2018-07-21T16:31:55Z","git_url":"git://github.com/JasonHughes94/MODiX.git","ssh_url":"git@github.com:JasonHughes94/MODiX.git","clone_url":"https://github.com/JasonHughes94/MODiX.git","svn_url":"https://github.com/JasonHughes94/MODiX","homepage":"","size":725,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"discord-csharp:master","ref":"master","sha":"23daea14ba334b30f854ce3ae3ac3542cc54756e","user":{"login":"discord-csharp","id":19499857,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDk5ODU3","avatar_url":"https://avatars0.githubusercontent.com/u/19499857?v=4","gravatar_id":"","url":"https://api.github.com/users/discord-csharp","html_url":"https://github.com/discord-csharp","followers_url":"https://api.github.com/users/discord-csharp/followers","following_url":"https://api.github.com/users/discord-csharp/following{/other_user}","gists_url":"https://api.github.com/users/discord-csharp/gists{/gist_id}","starred_url":"https://api.github.com/users/discord-csharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discord-csharp/subscriptions","organizations_url":"https://api.github.com/users/discord-csharp/orgs","repos_url":"https://api.github.com/users/discord-csharp/repos","events_url":"https://api.github.com/users/discord-csharp/events{/privacy}","received_events_url":"https://api.github.com/users/discord-csharp/received_events","type":"Organization","site_admin":false},"repo":{"id":98941065,"node_id":"MDEwOlJlcG9zaXRvcnk5ODk0MTA2NQ==","name":"MODiX","full_name":"discord-csharp/MODiX","owner":{"login":"discord-csharp","id":19499857,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDk5ODU3","avatar_url":"https://avatars0.githubusercontent.com/u/19499857?v=4","gravatar_id":"","url":"https://api.github.com/users/discord-csharp","html_url":"https://github.com/discord-csharp","followers_url":"https://api.github.com/users/discord-csharp/followers","following_url":"https://api.github.com/users/discord-csharp/following{/other_user}","gists_url":"https://api.github.com/users/discord-csharp/gists{/gist_id}","starred_url":"https://api.github.com/users/discord-csharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discord-csharp/subscriptions","organizations_url":"https://api.github.com/users/discord-csharp/orgs","repos_url":"https://api.github.com/users/discord-csharp/repos","events_url":"https://api.github.com/users/discord-csharp/events{/privacy}","received_events_url":"https://api.github.com/users/discord-csharp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/discord-csharp/MODiX","description":"Discord Bot handling basic moderation needs, soon implements statistics.","fork":false,"url":"https://api.github.com/repos/discord-csharp/MODiX","forks_url":"https://api.github.com/repos/discord-csharp/MODiX/forks","keys_url":"https://api.github.com/repos/discord-csharp/MODiX/keys{/key_id}","collaborators_url":"https://api.github.com/repos/discord-csharp/MODiX/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/discord-csharp/MODiX/teams","hooks_url":"https://api.github.com/repos/discord-csharp/MODiX/hooks","issue_events_url":"https://api.github.com/repos/discord-csharp/MODiX/issues/events{/number}","events_url":"https://api.github.com/repos/discord-csharp/MODiX/events","assignees_url":"https://api.github.com/repos/discord-csharp/MODiX/assignees{/user}","branches_url":"https://api.github.com/repos/discord-csharp/MODiX/branches{/branch}","tags_url":"https://api.github.com/repos/discord-csharp/MODiX/tags","blobs_url":"https://api.github.com/repos/discord-csharp/MODiX/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/discord-csharp/MODiX/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/discord-csharp/MODiX/git/refs{/sha}","trees_url":"https://api.github.com/repos/discord-csharp/MODiX/git/trees{/sha}","statuses_url":"https://api.github.com/repos/discord-csharp/MODiX/statuses/{sha}","languages_url":"https://api.github.com/repos/discord-csharp/MODiX/languages","stargazers_url":"https://api.github.com/repos/discord-csharp/MODiX/stargazers","contributors_url":"https://api.github.com/repos/discord-csharp/MODiX/contributors","subscribers_url":"https://api.github.com/repos/discord-csharp/MODiX/subscribers","subscription_url":"https://api.github.com/repos/discord-csharp/MODiX/subscription","commits_url":"https://api.github.com/repos/discord-csharp/MODiX/commits{/sha}","git_commits_url":"https://api.github.com/repos/discord-csharp/MODiX/git/commits{/sha}","comments_url":"https://api.github.com/repos/discord-csharp/MODiX/comments{/number}","issue_comment_url":"https://api.github.com/repos/discord-csharp/MODiX/issues/comments{/number}","contents_url":"https://api.github.com/repos/discord-csharp/MODiX/contents/{+path}","compare_url":"https://api.github.com/repos/discord-csharp/MODiX/compare/{base}...{head}","merges_url":"https://api.github.com/repos/discord-csharp/MODiX/merges","archive_url":"https://api.github.com/repos/discord-csharp/MODiX/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/discord-csharp/MODiX/downloads","issues_url":"https://api.github.com/repos/discord-csharp/MODiX/issues{/number}","pulls_url":"https://api.github.com/repos/discord-csharp/MODiX/pulls{/number}","milestones_url":"https://api.github.com/repos/discord-csharp/MODiX/milestones{/number}","notifications_url":"https://api.github.com/repos/discord-csharp/MODiX/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/discord-csharp/MODiX/labels{/name}","releases_url":"https://api.github.com/repos/discord-csharp/MODiX/releases{/id}","deployments_url":"https://api.github.com/repos/discord-csharp/MODiX/deployments","created_at":"2017-08-01T00:16:33Z","updated_at":"2018-07-21T15:37:01Z","pushed_at":"2018-07-21T16:31:57Z","git_url":"git://github.com/discord-csharp/MODiX.git","ssh_url":"git@github.com:discord-csharp/MODiX.git","clone_url":"https://github.com/discord-csharp/MODiX.git","svn_url":"https://github.com/discord-csharp/MODiX","homepage":"","size":714,"stargazers_count":16,"watchers_count":16,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":29,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":15,"open_issues":29,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/discord-csharp/MODiX/pulls/99"},"html":{"href":"https://github.com/discord-csharp/MODiX/pull/99"},"issue":{"href":"https://api.github.com/repos/discord-csharp/MODiX/issues/99"},"comments":{"href":"https://api.github.com/repos/discord-csharp/MODiX/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/discord-csharp/MODiX/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/discord-csharp/MODiX/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/discord-csharp/MODiX/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/discord-csharp/MODiX/statuses/2755fca1b6de2f7f5412345138c8918c11a6b731"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"JasonHughes94"}}