{"action":"created","comment":{"url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/pulls/comments/214593533","pull_request_review_id":151679536,"id":214593533,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDU5MzUzMw==","diff_hunk":"@@ -31,17 +41,19 @@ def __init__(self, bot):\n         text = self.zalgoify(text.upper(), amount)\r\n         await self.bot.say(text)\r\n \r\n-    def zalgoify(self, text, amount=3):\r\n-        zalgo_text = ''\r\n-        for c in text:\r\n-            zalgo_text += c\r\n-            if c != ' ':\r\n-                for t, range in ZALGO_PARAMS.items():\r\n-                    range = (round(x*amount/5) for x in range)\r\n-                    n = min(randint(*range), len(ZALGO_CHARS[t]))\r\n-                    zalgo_text += ''.join(sample(ZALGO_CHARS[t], n))\r\n-        return zalgo_text\r\n-\r\n+        def zalgoify(self, text, amount=3):\r\n+            zalgo_text = ''\r\n+            for c in text:\r\n+                zalgo_text += c\r\n+                if c != ' ':\r\n+                    for t, range in ZALGO_PARAMS.items():\r\n+                        range = (round(x*amount/5) for x in range)\r\n+                        n = min(randint(*range), len(ZALGO_CHARS[t]))\r\n+                        zalgo_text += ''.join(sample(ZALGO_CHARS[t], n))\r\n+            return zalgo_text\r\n+# -----------------------------------------------------------------------------------------\r\n+# set up\r\n+# -----------------------------------------------------------------------------------------\r","path":"cogs/zalgo.py","position":44,"original_position":44,"commit_id":"e00b9840a8fde36bba383722d537b6109db3e7cf","original_commit_id":"e00b9840a8fde36bba383722d537b6109db3e7cf","user":{"login":"Injabie3","id":6710854,"node_id":"MDQ6VXNlcjY3MTA4NTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6710854?v=4","gravatar_id":"","url":"https://api.github.com/users/Injabie3","html_url":"https://github.com/Injabie3","followers_url":"https://api.github.com/users/Injabie3/followers","following_url":"https://api.github.com/users/Injabie3/following{/other_user}","gists_url":"https://api.github.com/users/Injabie3/gists{/gist_id}","starred_url":"https://api.github.com/users/Injabie3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Injabie3/subscriptions","organizations_url":"https://api.github.com/users/Injabie3/orgs","repos_url":"https://api.github.com/users/Injabie3/repos","events_url":"https://api.github.com/users/Injabie3/events{/privacy}","received_events_url":"https://api.github.com/users/Injabie3/received_events","type":"User","site_admin":false},"body":"Lines 54-56: no need for this comment since it's self documenting.","created_at":"2018-09-03T07:11:36Z","updated_at":"2018-09-03T07:15:36Z","html_url":"https://github.com/SFUAnime/Red-DiscordBot/pull/92#discussion_r214593533","pull_request_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/pulls/92","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/pulls/comments/214593533"},"html":{"href":"https://github.com/SFUAnime/Red-DiscordBot/pull/92#discussion_r214593533"},"pull_request":{"href":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/pulls/92"}}},"pull_request":{"url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/pulls/92","id":212617831,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNjE3ODMx","html_url":"https://github.com/SFUAnime/Red-DiscordBot/pull/92","diff_url":"https://github.com/SFUAnime/Red-DiscordBot/pull/92.diff","patch_url":"https://github.com/SFUAnime/Red-DiscordBot/pull/92.patch","issue_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/issues/92","number":92,"state":"open","locked":false,"title":"Prevent Ren from going over 1000 char","user":{"login":"zach1502","id":22262354,"node_id":"MDQ6VXNlcjIyMjYyMzU0","avatar_url":"https://avatars2.githubusercontent.com/u/22262354?v=4","gravatar_id":"","url":"https://api.github.com/users/zach1502","html_url":"https://github.com/zach1502","followers_url":"https://api.github.com/users/zach1502/followers","following_url":"https://api.github.com/users/zach1502/following{/other_user}","gists_url":"https://api.github.com/users/zach1502/gists{/gist_id}","starred_url":"https://api.github.com/users/zach1502/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zach1502/subscriptions","organizations_url":"https://api.github.com/users/zach1502/orgs","repos_url":"https://api.github.com/users/zach1502/repos","events_url":"https://api.github.com/users/zach1502/events{/privacy}","received_events_url":"https://api.github.com/users/zach1502/received_events","type":"User","site_admin":false},"body":"Pylint is gonna #rek me\r\n\r\n### Type\r\n\r\n- [ ] Bugfix\r\n- [ ] Enhancement\r\n- [ ] New feature\r\n\r\n### Description of the changes\r\nadded if operator","created_at":"2018-09-02T23:54:50Z","updated_at":"2018-09-03T07:15:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"986459b097481e2dd952226acf31a07e80f786d7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/pulls/92/commits","review_comments_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/pulls/92/comments","review_comment_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/issues/92/comments","statuses_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/statuses/e00b9840a8fde36bba383722d537b6109db3e7cf","head":{"label":"zach1502:patch-12","ref":"patch-12","sha":"e00b9840a8fde36bba383722d537b6109db3e7cf","user":{"login":"zach1502","id":22262354,"node_id":"MDQ6VXNlcjIyMjYyMzU0","avatar_url":"https://avatars2.githubusercontent.com/u/22262354?v=4","gravatar_id":"","url":"https://api.github.com/users/zach1502","html_url":"https://github.com/zach1502","followers_url":"https://api.github.com/users/zach1502/followers","following_url":"https://api.github.com/users/zach1502/following{/other_user}","gists_url":"https://api.github.com/users/zach1502/gists{/gist_id}","starred_url":"https://api.github.com/users/zach1502/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zach1502/subscriptions","organizations_url":"https://api.github.com/users/zach1502/orgs","repos_url":"https://api.github.com/users/zach1502/repos","events_url":"https://api.github.com/users/zach1502/events{/privacy}","received_events_url":"https://api.github.com/users/zach1502/received_events","type":"User","site_admin":false},"repo":{"id":140145776,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAxNDU3NzY=","name":"Red-DiscordBot","full_name":"zach1502/Red-DiscordBot","owner":{"login":"zach1502","id":22262354,"node_id":"MDQ6VXNlcjIyMjYyMzU0","avatar_url":"https://avatars2.githubusercontent.com/u/22262354?v=4","gravatar_id":"","url":"https://api.github.com/users/zach1502","html_url":"https://github.com/zach1502","followers_url":"https://api.github.com/users/zach1502/followers","following_url":"https://api.github.com/users/zach1502/following{/other_user}","gists_url":"https://api.github.com/users/zach1502/gists{/gist_id}","starred_url":"https://api.github.com/users/zach1502/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zach1502/subscriptions","organizations_url":"https://api.github.com/users/zach1502/orgs","repos_url":"https://api.github.com/users/zach1502/repos","events_url":"https://api.github.com/users/zach1502/events{/privacy}","received_events_url":"https://api.github.com/users/zach1502/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zach1502/Red-DiscordBot","description":"Red-DiscordBot, deployed as Ren on SFU Anime Club's Discord server.  Includes first/third party cogs that are in use.","fork":true,"url":"https://api.github.com/repos/zach1502/Red-DiscordBot","forks_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/forks","keys_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/teams","hooks_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/hooks","issue_events_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/issues/events{/number}","events_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/events","assignees_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/assignees{/user}","branches_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/branches{/branch}","tags_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/tags","blobs_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/git/refs{/sha}","trees_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/statuses/{sha}","languages_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/languages","stargazers_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/stargazers","contributors_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/contributors","subscribers_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/subscribers","subscription_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/subscription","commits_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/commits{/sha}","git_commits_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/git/commits{/sha}","comments_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/comments{/number}","issue_comment_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/issues/comments{/number}","contents_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/contents/{+path}","compare_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/merges","archive_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/downloads","issues_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/issues{/number}","pulls_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/pulls{/number}","milestones_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/milestones{/number}","notifications_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/labels{/name}","releases_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/releases{/id}","deployments_url":"https://api.github.com/repos/zach1502/Red-DiscordBot/deployments","created_at":"2018-07-08T07:11:19Z","updated_at":"2018-07-08T07:11:22Z","pushed_at":"2018-09-03T00:07:57Z","git_url":"git://github.com/zach1502/Red-DiscordBot.git","ssh_url":"git@github.com:zach1502/Red-DiscordBot.git","clone_url":"https://github.com/zach1502/Red-DiscordBot.git","svn_url":"https://github.com/zach1502/Red-DiscordBot","homepage":"","size":1985,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"prod"}},"base":{"label":"SFUAnime:testing","ref":"testing","sha":"dd0afebcbdcc420e3fe07ca36a3e95f765b15edb","user":{"login":"SFUAnime","id":20249010,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMjQ5MDEw","avatar_url":"https://avatars0.githubusercontent.com/u/20249010?v=4","gravatar_id":"","url":"https://api.github.com/users/SFUAnime","html_url":"https://github.com/SFUAnime","followers_url":"https://api.github.com/users/SFUAnime/followers","following_url":"https://api.github.com/users/SFUAnime/following{/other_user}","gists_url":"https://api.github.com/users/SFUAnime/gists{/gist_id}","starred_url":"https://api.github.com/users/SFUAnime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SFUAnime/subscriptions","organizations_url":"https://api.github.com/users/SFUAnime/orgs","repos_url":"https://api.github.com/users/SFUAnime/repos","events_url":"https://api.github.com/users/SFUAnime/events{/privacy}","received_events_url":"https://api.github.com/users/SFUAnime/received_events","type":"Organization","site_admin":false},"repo":{"id":76699803,"node_id":"MDEwOlJlcG9zaXRvcnk3NjY5OTgwMw==","name":"Red-DiscordBot","full_name":"SFUAnime/Red-DiscordBot","owner":{"login":"SFUAnime","id":20249010,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMjQ5MDEw","avatar_url":"https://avatars0.githubusercontent.com/u/20249010?v=4","gravatar_id":"","url":"https://api.github.com/users/SFUAnime","html_url":"https://github.com/SFUAnime","followers_url":"https://api.github.com/users/SFUAnime/followers","following_url":"https://api.github.com/users/SFUAnime/following{/other_user}","gists_url":"https://api.github.com/users/SFUAnime/gists{/gist_id}","starred_url":"https://api.github.com/users/SFUAnime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SFUAnime/subscriptions","organizations_url":"https://api.github.com/users/SFUAnime/orgs","repos_url":"https://api.github.com/users/SFUAnime/repos","events_url":"https://api.github.com/users/SFUAnime/events{/privacy}","received_events_url":"https://api.github.com/users/SFUAnime/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SFUAnime/Red-DiscordBot","description":"Red-DiscordBot, deployed as Ren on SFU Anime Club's Discord server.  Includes first/third party cogs that are in use.","fork":true,"url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot","forks_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/forks","keys_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/teams","hooks_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/hooks","issue_events_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/issues/events{/number}","events_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/events","assignees_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/assignees{/user}","branches_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/branches{/branch}","tags_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/tags","blobs_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/git/refs{/sha}","trees_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/statuses/{sha}","languages_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/languages","stargazers_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/stargazers","contributors_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/contributors","subscribers_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/subscribers","subscription_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/subscription","commits_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/commits{/sha}","git_commits_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/git/commits{/sha}","comments_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/comments{/number}","issue_comment_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/issues/comments{/number}","contents_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/contents/{+path}","compare_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/merges","archive_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/downloads","issues_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/issues{/number}","pulls_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/pulls{/number}","milestones_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/milestones{/number}","notifications_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/labels{/name}","releases_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/releases{/id}","deployments_url":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/deployments","created_at":"2016-12-17T02:43:52Z","updated_at":"2018-09-02T06:06:59Z","pushed_at":"2018-09-03T00:07:58Z","git_url":"git://github.com/SFUAnime/Red-DiscordBot.git","ssh_url":"git@github.com:SFUAnime/Red-DiscordBot.git","clone_url":"https://github.com/SFUAnime/Red-DiscordBot.git","svn_url":"https://github.com/SFUAnime/Red-DiscordBot","homepage":"","size":1936,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":7,"open_issues":13,"watchers":2,"default_branch":"prod"}},"_links":{"self":{"href":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/pulls/92"},"html":{"href":"https://github.com/SFUAnime/Red-DiscordBot/pull/92"},"issue":{"href":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/issues/92"},"comments":{"href":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/SFUAnime/Red-DiscordBot/statuses/e00b9840a8fde36bba383722d537b6109db3e7cf"}},"author_association":"NONE"}}
{"actor":{"display_login":"Injabie3"}}