{"action":"created","comment":{"url":"https://api.github.com/repos/WeebDev/Commando/pulls/comments/102396610","pull_request_review_id":23149472,"id":102396610,"diff_hunk":"@@ -0,0 +1,115 @@\n+const Canvas = require('canvas');\n+const { Command } = require('discord.js-commando');\n+const fs = global.Promise.promisifyAll(require('fs'));\n+const path = require('path');\n+\n+module.exports = class BlameCommand extends Command {\n+\tconstructor(client) {\n+\t\tsuper(client, {\n+\t\t\tname: 'blame',\n+\t\t\taliases: ['bm'],\n+\t\t\tgroup: 'social',\n+\t\t\tmemberName: 'blame',\n+\t\t\tdescription: 'Blames someone.',\n+\t\t\tguildOnly: true,\n+\t\t\tthrottling: {\n+\t\t\t\tusages: 1,\n+\t\t\t\tduration: 60\n+\t\t\t},\n+\n+\t\t\targs: [\n+\t\t\t\t{\n+\t\t\t\t\tkey: 'member',\n+\t\t\t\t\tprompt: 'who would you like to blame?\\n',\n+\t\t\t\t\ttype: 'member',\n+\t\t\t\t\tdefault: ''\n+\t\t\t\t}\n+\t\t\t]\n+\t\t});\n+\t}\n+\n+\tasync run(msg, args) {\n+\t\tconst user = args.member || msg.member;\n+\t\tconst Image = Canvas.Image;\n+\n+\t\tCanvas.registerFont(path.join(__dirname, '..', '..', 'assets', 'profile', 'fonts', 'Roboto.ttf'), { family: 'Roboto' });\n+\t\tCanvas.registerFont(path.join(__dirname, '..', '..', 'assets', 'profile', 'fonts', 'NotoEmoji-Regular.ttf'), { family: 'Roboto' });\n+\n+\t\t\n+\t\tconst canvas = new Canvas(300, 300);\n+\t\tconst ctx = canvas.getContext('2d');\n+\n+\t\tconst lines = this.wrapText(ctx, personalMessage, 110);\n+\n+\t\tconst base = new Image();\n+\t\t\n+\n+\t\tconst generate = () => {","path":"commands/social/blame.js","position":47,"original_position":47,"commit_id":"7d906125cd3d4bb007ea7efb2211caed53e23447","original_commit_id":"7d906125cd3d4bb007ea7efb2211caed53e23447","user":{"login":"iCrawl","id":20760160,"avatar_url":"https://avatars.githubusercontent.com/u/20760160?v=3","gravatar_id":"","url":"https://api.github.com/users/iCrawl","html_url":"https://github.com/iCrawl","followers_url":"https://api.github.com/users/iCrawl/followers","following_url":"https://api.github.com/users/iCrawl/following{/other_user}","gists_url":"https://api.github.com/users/iCrawl/gists{/gist_id}","starred_url":"https://api.github.com/users/iCrawl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iCrawl/subscriptions","organizations_url":"https://api.github.com/users/iCrawl/orgs","repos_url":"https://api.github.com/users/iCrawl/repos","events_url":"https://api.github.com/users/iCrawl/events{/privacy}","received_events_url":"https://api.github.com/users/iCrawl/received_events","type":"User","site_admin":false},"body":"? This doesn't seem necessary.","created_at":"2017-02-22T07:14:18Z","updated_at":"2017-02-22T07:14:18Z","html_url":"https://github.com/WeebDev/Commando/pull/41#discussion_r102396610","pull_request_url":"https://api.github.com/repos/WeebDev/Commando/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/WeebDev/Commando/pulls/comments/102396610"},"html":{"href":"https://github.com/WeebDev/Commando/pull/41#discussion_r102396610"},"pull_request":{"href":"https://api.github.com/repos/WeebDev/Commando/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/WeebDev/Commando/pulls/41","id":107233138,"html_url":"https://github.com/WeebDev/Commando/pull/41","diff_url":"https://github.com/WeebDev/Commando/pull/41.diff","patch_url":"https://github.com/WeebDev/Commando/pull/41.patch","issue_url":"https://api.github.com/repos/WeebDev/Commando/issues/41","number":41,"state":"open","locked":false,"title":"Blame Command","user":{"login":"LostNTime","id":19864189,"avatar_url":"https://avatars.githubusercontent.com/u/19864189?v=3","gravatar_id":"","url":"https://api.github.com/users/LostNTime","html_url":"https://github.com/LostNTime","followers_url":"https://api.github.com/users/LostNTime/followers","following_url":"https://api.github.com/users/LostNTime/following{/other_user}","gists_url":"https://api.github.com/users/LostNTime/gists{/gist_id}","starred_url":"https://api.github.com/users/LostNTime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LostNTime/subscriptions","organizations_url":"https://api.github.com/users/LostNTime/orgs","repos_url":"https://api.github.com/users/LostNTime/repos","events_url":"https://api.github.com/users/LostNTime/events{/privacy}","received_events_url":"https://api.github.com/users/LostNTime/received_events","type":"User","site_admin":false},"body":"This command will generate one of those blame someone emotes that we are constantly using on the server. ","created_at":"2017-02-21T17:01:35Z","updated_at":"2017-02-22T07:14:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f95056b05952a2273227b3a54c5502af659736c1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/WeebDev/Commando/pulls/41/commits","review_comments_url":"https://api.github.com/repos/WeebDev/Commando/pulls/41/comments","review_comment_url":"https://api.github.com/repos/WeebDev/Commando/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WeebDev/Commando/issues/41/comments","statuses_url":"https://api.github.com/repos/WeebDev/Commando/statuses/7d906125cd3d4bb007ea7efb2211caed53e23447","head":{"label":"LostNTime:master","ref":"master","sha":"7d906125cd3d4bb007ea7efb2211caed53e23447","user":{"login":"LostNTime","id":19864189,"avatar_url":"https://avatars.githubusercontent.com/u/19864189?v=3","gravatar_id":"","url":"https://api.github.com/users/LostNTime","html_url":"https://github.com/LostNTime","followers_url":"https://api.github.com/users/LostNTime/followers","following_url":"https://api.github.com/users/LostNTime/following{/other_user}","gists_url":"https://api.github.com/users/LostNTime/gists{/gist_id}","starred_url":"https://api.github.com/users/LostNTime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LostNTime/subscriptions","organizations_url":"https://api.github.com/users/LostNTime/orgs","repos_url":"https://api.github.com/users/LostNTime/repos","events_url":"https://api.github.com/users/LostNTime/events{/privacy}","received_events_url":"https://api.github.com/users/LostNTime/received_events","type":"User","site_admin":false},"repo":{"id":82701431,"name":"Commando","full_name":"LostNTime/Commando","owner":{"login":"LostNTime","id":19864189,"avatar_url":"https://avatars.githubusercontent.com/u/19864189?v=3","gravatar_id":"","url":"https://api.github.com/users/LostNTime","html_url":"https://github.com/LostNTime","followers_url":"https://api.github.com/users/LostNTime/followers","following_url":"https://api.github.com/users/LostNTime/following{/other_user}","gists_url":"https://api.github.com/users/LostNTime/gists{/gist_id}","starred_url":"https://api.github.com/users/LostNTime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LostNTime/subscriptions","organizations_url":"https://api.github.com/users/LostNTime/orgs","repos_url":"https://api.github.com/users/LostNTime/repos","events_url":"https://api.github.com/users/LostNTime/events{/privacy}","received_events_url":"https://api.github.com/users/LostNTime/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LostNTime/Commando","description":"Commando Discord bot built on discord.js-commando.","fork":true,"url":"https://api.github.com/repos/LostNTime/Commando","forks_url":"https://api.github.com/repos/LostNTime/Commando/forks","keys_url":"https://api.github.com/repos/LostNTime/Commando/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LostNTime/Commando/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LostNTime/Commando/teams","hooks_url":"https://api.github.com/repos/LostNTime/Commando/hooks","issue_events_url":"https://api.github.com/repos/LostNTime/Commando/issues/events{/number}","events_url":"https://api.github.com/repos/LostNTime/Commando/events","assignees_url":"https://api.github.com/repos/LostNTime/Commando/assignees{/user}","branches_url":"https://api.github.com/repos/LostNTime/Commando/branches{/branch}","tags_url":"https://api.github.com/repos/LostNTime/Commando/tags","blobs_url":"https://api.github.com/repos/LostNTime/Commando/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LostNTime/Commando/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LostNTime/Commando/git/refs{/sha}","trees_url":"https://api.github.com/repos/LostNTime/Commando/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LostNTime/Commando/statuses/{sha}","languages_url":"https://api.github.com/repos/LostNTime/Commando/languages","stargazers_url":"https://api.github.com/repos/LostNTime/Commando/stargazers","contributors_url":"https://api.github.com/repos/LostNTime/Commando/contributors","subscribers_url":"https://api.github.com/repos/LostNTime/Commando/subscribers","subscription_url":"https://api.github.com/repos/LostNTime/Commando/subscription","commits_url":"https://api.github.com/repos/LostNTime/Commando/commits{/sha}","git_commits_url":"https://api.github.com/repos/LostNTime/Commando/git/commits{/sha}","comments_url":"https://api.github.com/repos/LostNTime/Commando/comments{/number}","issue_comment_url":"https://api.github.com/repos/LostNTime/Commando/issues/comments{/number}","contents_url":"https://api.github.com/repos/LostNTime/Commando/contents/{+path}","compare_url":"https://api.github.com/repos/LostNTime/Commando/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LostNTime/Commando/merges","archive_url":"https://api.github.com/repos/LostNTime/Commando/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LostNTime/Commando/downloads","issues_url":"https://api.github.com/repos/LostNTime/Commando/issues{/number}","pulls_url":"https://api.github.com/repos/LostNTime/Commando/pulls{/number}","milestones_url":"https://api.github.com/repos/LostNTime/Commando/milestones{/number}","notifications_url":"https://api.github.com/repos/LostNTime/Commando/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LostNTime/Commando/labels{/name}","releases_url":"https://api.github.com/repos/LostNTime/Commando/releases{/id}","deployments_url":"https://api.github.com/repos/LostNTime/Commando/deployments","created_at":"2017-02-21T16:23:18Z","updated_at":"2017-02-21T16:23:20Z","pushed_at":"2017-02-21T16:58:47Z","git_url":"git://github.com/LostNTime/Commando.git","ssh_url":"git@github.com:LostNTime/Commando.git","clone_url":"https://github.com/LostNTime/Commando.git","svn_url":"https://github.com/LostNTime/Commando","homepage":"https://github.com/Gawdl3y/discord.js-commando","size":1964,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"master"}},"base":{"label":"WeebDev:master","ref":"master","sha":"14afbedc910aaffbbf6eb4b803f08c8dc16e11bf","user":{"login":"WeebDev","id":23747031,"avatar_url":"https://avatars.githubusercontent.com/u/23747031?v=3","gravatar_id":"","url":"https://api.github.com/users/WeebDev","html_url":"https://github.com/WeebDev","followers_url":"https://api.github.com/users/WeebDev/followers","following_url":"https://api.github.com/users/WeebDev/following{/other_user}","gists_url":"https://api.github.com/users/WeebDev/gists{/gist_id}","starred_url":"https://api.github.com/users/WeebDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeebDev/subscriptions","organizations_url":"https://api.github.com/users/WeebDev/orgs","repos_url":"https://api.github.com/users/WeebDev/repos","events_url":"https://api.github.com/users/WeebDev/events{/privacy}","received_events_url":"https://api.github.com/users/WeebDev/received_events","type":"Organization","site_admin":false},"repo":{"id":71320001,"name":"Commando","full_name":"WeebDev/Commando","owner":{"login":"WeebDev","id":23747031,"avatar_url":"https://avatars.githubusercontent.com/u/23747031?v=3","gravatar_id":"","url":"https://api.github.com/users/WeebDev","html_url":"https://github.com/WeebDev","followers_url":"https://api.github.com/users/WeebDev/followers","following_url":"https://api.github.com/users/WeebDev/following{/other_user}","gists_url":"https://api.github.com/users/WeebDev/gists{/gist_id}","starred_url":"https://api.github.com/users/WeebDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeebDev/subscriptions","organizations_url":"https://api.github.com/users/WeebDev/orgs","repos_url":"https://api.github.com/users/WeebDev/repos","events_url":"https://api.github.com/users/WeebDev/events{/privacy}","received_events_url":"https://api.github.com/users/WeebDev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WeebDev/Commando","description":"Commando Discord bot built on discord.js-commando.","fork":false,"url":"https://api.github.com/repos/WeebDev/Commando","forks_url":"https://api.github.com/repos/WeebDev/Commando/forks","keys_url":"https://api.github.com/repos/WeebDev/Commando/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WeebDev/Commando/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WeebDev/Commando/teams","hooks_url":"https://api.github.com/repos/WeebDev/Commando/hooks","issue_events_url":"https://api.github.com/repos/WeebDev/Commando/issues/events{/number}","events_url":"https://api.github.com/repos/WeebDev/Commando/events","assignees_url":"https://api.github.com/repos/WeebDev/Commando/assignees{/user}","branches_url":"https://api.github.com/repos/WeebDev/Commando/branches{/branch}","tags_url":"https://api.github.com/repos/WeebDev/Commando/tags","blobs_url":"https://api.github.com/repos/WeebDev/Commando/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WeebDev/Commando/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WeebDev/Commando/git/refs{/sha}","trees_url":"https://api.github.com/repos/WeebDev/Commando/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WeebDev/Commando/statuses/{sha}","languages_url":"https://api.github.com/repos/WeebDev/Commando/languages","stargazers_url":"https://api.github.com/repos/WeebDev/Commando/stargazers","contributors_url":"https://api.github.com/repos/WeebDev/Commando/contributors","subscribers_url":"https://api.github.com/repos/WeebDev/Commando/subscribers","subscription_url":"https://api.github.com/repos/WeebDev/Commando/subscription","commits_url":"https://api.github.com/repos/WeebDev/Commando/commits{/sha}","git_commits_url":"https://api.github.com/repos/WeebDev/Commando/git/commits{/sha}","comments_url":"https://api.github.com/repos/WeebDev/Commando/comments{/number}","issue_comment_url":"https://api.github.com/repos/WeebDev/Commando/issues/comments{/number}","contents_url":"https://api.github.com/repos/WeebDev/Commando/contents/{+path}","compare_url":"https://api.github.com/repos/WeebDev/Commando/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WeebDev/Commando/merges","archive_url":"https://api.github.com/repos/WeebDev/Commando/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WeebDev/Commando/downloads","issues_url":"https://api.github.com/repos/WeebDev/Commando/issues{/number}","pulls_url":"https://api.github.com/repos/WeebDev/Commando/pulls{/number}","milestones_url":"https://api.github.com/repos/WeebDev/Commando/milestones{/number}","notifications_url":"https://api.github.com/repos/WeebDev/Commando/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WeebDev/Commando/labels{/name}","releases_url":"https://api.github.com/repos/WeebDev/Commando/releases{/id}","deployments_url":"https://api.github.com/repos/WeebDev/Commando/deployments","created_at":"2016-10-19T04:49:52Z","updated_at":"2017-02-16T06:44:47Z","pushed_at":"2017-02-21T17:01:36Z","git_url":"git://github.com/WeebDev/Commando.git","ssh_url":"git@github.com:WeebDev/Commando.git","clone_url":"https://github.com/WeebDev/Commando.git","svn_url":"https://github.com/WeebDev/Commando","homepage":"https://github.com/Gawdl3y/discord.js-commando","size":1959,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WeebDev/Commando/pulls/41"},"html":{"href":"https://github.com/WeebDev/Commando/pull/41"},"issue":{"href":"https://api.github.com/repos/WeebDev/Commando/issues/41"},"comments":{"href":"https://api.github.com/repos/WeebDev/Commando/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/WeebDev/Commando/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/WeebDev/Commando/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WeebDev/Commando/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/WeebDev/Commando/statuses/7d906125cd3d4bb007ea7efb2211caed53e23447"}}}}
{"actor":{"display_login":"iCrawl"}}