{"action":"created","comment":{"url":"https://api.github.com/repos/discord-python/bot/pulls/comments/186255252","pull_request_review_id":117806823,"id":186255252,"diff_hunk":"@@ -264,11 +265,7 @@ def __init__(self, bot: AutoShardedBot):\n         cogs = {}\n \n         embed.colour = Colour.blurple()\n-        embed.set_author(\n-            name=\"Python Bot (Cogs)\",\n-            url=GITHUB_URL_BOT,\n-            icon_url=BOT_AVATAR_URL\n-        )\n+        embed.set_author(name=\"Python Bot (Cogs)\", url=GITHUB_URL_BOT, icon_url=BOT_AVATAR_URL)","path":"bot/cogs/cogs.py","position":28,"original_position":160,"commit_id":"f2cfd68bc273ebfdfd6d76c67b2e89e6b58a1cd4","original_commit_id":"f2cfd68bc273ebfdfd6d76c67b2e89e6b58a1cd4","user":{"login":"1mn","id":2098517,"avatar_url":"https://avatars2.githubusercontent.com/u/2098517?v=4","gravatar_id":"","url":"https://api.github.com/users/1mn","html_url":"https://github.com/1mn","followers_url":"https://api.github.com/users/1mn/followers","following_url":"https://api.github.com/users/1mn/following{/other_user}","gists_url":"https://api.github.com/users/1mn/gists{/gist_id}","starred_url":"https://api.github.com/users/1mn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1mn/subscriptions","organizations_url":"https://api.github.com/users/1mn/orgs","repos_url":"https://api.github.com/users/1mn/repos","events_url":"https://api.github.com/users/1mn/events{/privacy}","received_events_url":"https://api.github.com/users/1mn/received_events","type":"User","site_admin":false},"body":"prefer multiline for all embed calls like this.","created_at":"2018-05-05T07:26:15Z","updated_at":"2018-05-05T07:34:39Z","html_url":"https://github.com/discord-python/bot/pull/67#discussion_r186255252","pull_request_url":"https://api.github.com/repos/discord-python/bot/pulls/67","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/discord-python/bot/pulls/comments/186255252"},"html":{"href":"https://github.com/discord-python/bot/pull/67#discussion_r186255252"},"pull_request":{"href":"https://api.github.com/repos/discord-python/bot/pulls/67"}}},"pull_request":{"url":"https://api.github.com/repos/discord-python/bot/pulls/67","id":185550363,"html_url":"https://github.com/discord-python/bot/pull/67","diff_url":"https://github.com/discord-python/bot/pull/67.diff","patch_url":"https://github.com/discord-python/bot/pull/67.patch","issue_url":"https://api.github.com/repos/discord-python/bot/issues/67","number":67,"state":"open","locked":false,"title":"[Discussion] Unify code style","user":{"login":"Volcyy","id":22679924,"avatar_url":"https://avatars3.githubusercontent.com/u/22679924?v=4","gravatar_id":"","url":"https://api.github.com/users/Volcyy","html_url":"https://github.com/Volcyy","followers_url":"https://api.github.com/users/Volcyy/followers","following_url":"https://api.github.com/users/Volcyy/following{/other_user}","gists_url":"https://api.github.com/users/Volcyy/gists{/gist_id}","starred_url":"https://api.github.com/users/Volcyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Volcyy/subscriptions","organizations_url":"https://api.github.com/users/Volcyy/orgs","repos_url":"https://api.github.com/users/Volcyy/repos","events_url":"https://api.github.com/users/Volcyy/events{/privacy}","received_events_url":"https://api.github.com/users/Volcyy/received_events","type":"User","site_admin":false},"body":"So, I've went ahead and ran all Python files through [`black`](https://github.com/ambv/black). My motivation behind this is that black enforces a consistent style throughout the project, and with a community project, I think that that's useful.\r\n\r\nI'd be very interested for opinions towards this. The only thing I dislike is the wrapping to multiple lines of lines with long comments - but it's easy to fix this by simply putting the comment above, and it's not too common either. Looking forward to your input.\r\n\r\nOne more thing, it's also possible to use `black` in CI with `black --check` which returns a status code depending on whether or not something would've been changed, useful for not having to check style on PRs ourselves.","created_at":"2018-05-02T20:21:53Z","updated_at":"2018-05-05T07:34:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"871a2e1e67a58afef20d673d9dff89b3c1b6022a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"gdude2002","id":204153,"avatar_url":"https://avatars3.githubusercontent.com/u/204153?v=4","gravatar_id":"","url":"https://api.github.com/users/gdude2002","html_url":"https://github.com/gdude2002","followers_url":"https://api.github.com/users/gdude2002/followers","following_url":"https://api.github.com/users/gdude2002/following{/other_user}","gists_url":"https://api.github.com/users/gdude2002/gists{/gist_id}","starred_url":"https://api.github.com/users/gdude2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdude2002/subscriptions","organizations_url":"https://api.github.com/users/gdude2002/orgs","repos_url":"https://api.github.com/users/gdude2002/repos","events_url":"https://api.github.com/users/gdude2002/events{/privacy}","received_events_url":"https://api.github.com/users/gdude2002/received_events","type":"User","site_admin":false},{"login":"AnonGuy","id":25161069,"avatar_url":"https://avatars3.githubusercontent.com/u/25161069?v=4","gravatar_id":"","url":"https://api.github.com/users/AnonGuy","html_url":"https://github.com/AnonGuy","followers_url":"https://api.github.com/users/AnonGuy/followers","following_url":"https://api.github.com/users/AnonGuy/following{/other_user}","gists_url":"https://api.github.com/users/AnonGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/AnonGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnonGuy/subscriptions","organizations_url":"https://api.github.com/users/AnonGuy/orgs","repos_url":"https://api.github.com/users/AnonGuy/repos","events_url":"https://api.github.com/users/AnonGuy/events{/privacy}","received_events_url":"https://api.github.com/users/AnonGuy/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/discord-python/bot/pulls/67/commits","review_comments_url":"https://api.github.com/repos/discord-python/bot/pulls/67/comments","review_comment_url":"https://api.github.com/repos/discord-python/bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/discord-python/bot/issues/67/comments","statuses_url":"https://api.github.com/repos/discord-python/bot/statuses/f2cfd68bc273ebfdfd6d76c67b2e89e6b58a1cd4","head":{"label":"discord-python:unified-code-formatting","ref":"unified-code-formatting","sha":"f2cfd68bc273ebfdfd6d76c67b2e89e6b58a1cd4","user":{"login":"discord-python","id":36101493,"avatar_url":"https://avatars0.githubusercontent.com/u/36101493?v=4","gravatar_id":"","url":"https://api.github.com/users/discord-python","html_url":"https://github.com/discord-python","followers_url":"https://api.github.com/users/discord-python/followers","following_url":"https://api.github.com/users/discord-python/following{/other_user}","gists_url":"https://api.github.com/users/discord-python/gists{/gist_id}","starred_url":"https://api.github.com/users/discord-python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discord-python/subscriptions","organizations_url":"https://api.github.com/users/discord-python/orgs","repos_url":"https://api.github.com/users/discord-python/repos","events_url":"https://api.github.com/users/discord-python/events{/privacy}","received_events_url":"https://api.github.com/users/discord-python/received_events","type":"Organization","site_admin":false},"repo":{"id":120088519,"name":"bot","full_name":"discord-python/bot","owner":{"login":"discord-python","id":36101493,"avatar_url":"https://avatars0.githubusercontent.com/u/36101493?v=4","gravatar_id":"","url":"https://api.github.com/users/discord-python","html_url":"https://github.com/discord-python","followers_url":"https://api.github.com/users/discord-python/followers","following_url":"https://api.github.com/users/discord-python/following{/other_user}","gists_url":"https://api.github.com/users/discord-python/gists{/gist_id}","starred_url":"https://api.github.com/users/discord-python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discord-python/subscriptions","organizations_url":"https://api.github.com/users/discord-python/orgs","repos_url":"https://api.github.com/users/discord-python/repos","events_url":"https://api.github.com/users/discord-python/events{/privacy}","received_events_url":"https://api.github.com/users/discord-python/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/discord-python/bot","description":"Source code for our Discord bot","fork":false,"url":"https://api.github.com/repos/discord-python/bot","forks_url":"https://api.github.com/repos/discord-python/bot/forks","keys_url":"https://api.github.com/repos/discord-python/bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/discord-python/bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/discord-python/bot/teams","hooks_url":"https://api.github.com/repos/discord-python/bot/hooks","issue_events_url":"https://api.github.com/repos/discord-python/bot/issues/events{/number}","events_url":"https://api.github.com/repos/discord-python/bot/events","assignees_url":"https://api.github.com/repos/discord-python/bot/assignees{/user}","branches_url":"https://api.github.com/repos/discord-python/bot/branches{/branch}","tags_url":"https://api.github.com/repos/discord-python/bot/tags","blobs_url":"https://api.github.com/repos/discord-python/bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/discord-python/bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/discord-python/bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/discord-python/bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/discord-python/bot/statuses/{sha}","languages_url":"https://api.github.com/repos/discord-python/bot/languages","stargazers_url":"https://api.github.com/repos/discord-python/bot/stargazers","contributors_url":"https://api.github.com/repos/discord-python/bot/contributors","subscribers_url":"https://api.github.com/repos/discord-python/bot/subscribers","subscription_url":"https://api.github.com/repos/discord-python/bot/subscription","commits_url":"https://api.github.com/repos/discord-python/bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/discord-python/bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/discord-python/bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/discord-python/bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/discord-python/bot/contents/{+path}","compare_url":"https://api.github.com/repos/discord-python/bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/discord-python/bot/merges","archive_url":"https://api.github.com/repos/discord-python/bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/discord-python/bot/downloads","issues_url":"https://api.github.com/repos/discord-python/bot/issues{/number}","pulls_url":"https://api.github.com/repos/discord-python/bot/pulls{/number}","milestones_url":"https://api.github.com/repos/discord-python/bot/milestones{/number}","notifications_url":"https://api.github.com/repos/discord-python/bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/discord-python/bot/labels{/name}","releases_url":"https://api.github.com/repos/discord-python/bot/releases{/id}","deployments_url":"https://api.github.com/repos/discord-python/bot/deployments","created_at":"2018-02-03T12:20:25Z","updated_at":"2018-05-02T16:23:00Z","pushed_at":"2018-05-04T22:15:11Z","git_url":"git://github.com/discord-python/bot.git","ssh_url":"git@github.com:discord-python/bot.git","clone_url":"https://github.com/discord-python/bot.git","svn_url":"https://github.com/discord-python/bot","homepage":"","size":339,"stargazers_count":15,"watchers_count":15,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":6,"open_issues":11,"watchers":15,"default_branch":"master"}},"base":{"label":"discord-python:master","ref":"master","sha":"b451b1f695bd0945b3b37bb8c66dc0166016aee8","user":{"login":"discord-python","id":36101493,"avatar_url":"https://avatars0.githubusercontent.com/u/36101493?v=4","gravatar_id":"","url":"https://api.github.com/users/discord-python","html_url":"https://github.com/discord-python","followers_url":"https://api.github.com/users/discord-python/followers","following_url":"https://api.github.com/users/discord-python/following{/other_user}","gists_url":"https://api.github.com/users/discord-python/gists{/gist_id}","starred_url":"https://api.github.com/users/discord-python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discord-python/subscriptions","organizations_url":"https://api.github.com/users/discord-python/orgs","repos_url":"https://api.github.com/users/discord-python/repos","events_url":"https://api.github.com/users/discord-python/events{/privacy}","received_events_url":"https://api.github.com/users/discord-python/received_events","type":"Organization","site_admin":false},"repo":{"id":120088519,"name":"bot","full_name":"discord-python/bot","owner":{"login":"discord-python","id":36101493,"avatar_url":"https://avatars0.githubusercontent.com/u/36101493?v=4","gravatar_id":"","url":"https://api.github.com/users/discord-python","html_url":"https://github.com/discord-python","followers_url":"https://api.github.com/users/discord-python/followers","following_url":"https://api.github.com/users/discord-python/following{/other_user}","gists_url":"https://api.github.com/users/discord-python/gists{/gist_id}","starred_url":"https://api.github.com/users/discord-python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discord-python/subscriptions","organizations_url":"https://api.github.com/users/discord-python/orgs","repos_url":"https://api.github.com/users/discord-python/repos","events_url":"https://api.github.com/users/discord-python/events{/privacy}","received_events_url":"https://api.github.com/users/discord-python/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/discord-python/bot","description":"Source code for our Discord bot","fork":false,"url":"https://api.github.com/repos/discord-python/bot","forks_url":"https://api.github.com/repos/discord-python/bot/forks","keys_url":"https://api.github.com/repos/discord-python/bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/discord-python/bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/discord-python/bot/teams","hooks_url":"https://api.github.com/repos/discord-python/bot/hooks","issue_events_url":"https://api.github.com/repos/discord-python/bot/issues/events{/number}","events_url":"https://api.github.com/repos/discord-python/bot/events","assignees_url":"https://api.github.com/repos/discord-python/bot/assignees{/user}","branches_url":"https://api.github.com/repos/discord-python/bot/branches{/branch}","tags_url":"https://api.github.com/repos/discord-python/bot/tags","blobs_url":"https://api.github.com/repos/discord-python/bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/discord-python/bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/discord-python/bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/discord-python/bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/discord-python/bot/statuses/{sha}","languages_url":"https://api.github.com/repos/discord-python/bot/languages","stargazers_url":"https://api.github.com/repos/discord-python/bot/stargazers","contributors_url":"https://api.github.com/repos/discord-python/bot/contributors","subscribers_url":"https://api.github.com/repos/discord-python/bot/subscribers","subscription_url":"https://api.github.com/repos/discord-python/bot/subscription","commits_url":"https://api.github.com/repos/discord-python/bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/discord-python/bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/discord-python/bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/discord-python/bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/discord-python/bot/contents/{+path}","compare_url":"https://api.github.com/repos/discord-python/bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/discord-python/bot/merges","archive_url":"https://api.github.com/repos/discord-python/bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/discord-python/bot/downloads","issues_url":"https://api.github.com/repos/discord-python/bot/issues{/number}","pulls_url":"https://api.github.com/repos/discord-python/bot/pulls{/number}","milestones_url":"https://api.github.com/repos/discord-python/bot/milestones{/number}","notifications_url":"https://api.github.com/repos/discord-python/bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/discord-python/bot/labels{/name}","releases_url":"https://api.github.com/repos/discord-python/bot/releases{/id}","deployments_url":"https://api.github.com/repos/discord-python/bot/deployments","created_at":"2018-02-03T12:20:25Z","updated_at":"2018-05-02T16:23:00Z","pushed_at":"2018-05-04T22:15:11Z","git_url":"git://github.com/discord-python/bot.git","ssh_url":"git@github.com:discord-python/bot.git","clone_url":"https://github.com/discord-python/bot.git","svn_url":"https://github.com/discord-python/bot","homepage":"","size":339,"stargazers_count":15,"watchers_count":15,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":6,"open_issues":11,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/discord-python/bot/pulls/67"},"html":{"href":"https://github.com/discord-python/bot/pull/67"},"issue":{"href":"https://api.github.com/repos/discord-python/bot/issues/67"},"comments":{"href":"https://api.github.com/repos/discord-python/bot/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/discord-python/bot/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/discord-python/bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/discord-python/bot/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/discord-python/bot/statuses/f2cfd68bc273ebfdfd6d76c67b2e89e6b58a1cd4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"1mn"}}