{"action":"created","comment":{"url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/comments/94287977","pull_request_review_id":14816795,"id":94287977,"diff_hunk":"@@ -33,10 +33,14 @@ class Bankbot\n   end\n \n   def report_balance(character)\n-    pretty_print = $CURRENCIES.map { |currency| \"#{@ledger[character][currency]} #{currency}\" }.join(', ')\n+    pretty_print = get_balance(character)\n     fput \"whisper #{character} Your balance is: #{pretty_print}.\"\n   end\n \n+  def get_balance(character)\n+    return $CURRENCIES.map { |currency| \"#{@ledger[character][currency]} #{currency}\" }.join(', ')","path":"bankbot.lic","position":10,"original_position":10,"commit_id":"326dd4907695906ef38521cb6abf491c77212458","original_commit_id":"326dd4907695906ef38521cb6abf491c77212458","user":{"login":"rpherbig","id":1181607,"avatar_url":"https://avatars.githubusercontent.com/u/1181607?v=3","gravatar_id":"","url":"https://api.github.com/users/rpherbig","html_url":"https://github.com/rpherbig","followers_url":"https://api.github.com/users/rpherbig/followers","following_url":"https://api.github.com/users/rpherbig/following{/other_user}","gists_url":"https://api.github.com/users/rpherbig/gists{/gist_id}","starred_url":"https://api.github.com/users/rpherbig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpherbig/subscriptions","organizations_url":"https://api.github.com/users/rpherbig/orgs","repos_url":"https://api.github.com/users/rpherbig/repos","events_url":"https://api.github.com/users/rpherbig/events{/privacy}","received_events_url":"https://api.github.com/users/rpherbig/received_events","type":"User","site_admin":false},"body":"You don't need `return` here","created_at":"2017-01-01T19:32:18Z","updated_at":"2017-01-01T19:32:18Z","html_url":"https://github.com/rpherbig/dr-scripts/pull/1230#discussion_r94287977","pull_request_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1230","_links":{"self":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/comments/94287977"},"html":{"href":"https://github.com/rpherbig/dr-scripts/pull/1230#discussion_r94287977"},"pull_request":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1230"}}},"pull_request":{"url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1230","id":99829049,"html_url":"https://github.com/rpherbig/dr-scripts/pull/1230","diff_url":"https://github.com/rpherbig/dr-scripts/pull/1230.diff","patch_url":"https://github.com/rpherbig/dr-scripts/pull/1230.patch","issue_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues/1230","number":1230,"state":"open","locked":false,"title":"Adding lnet-based balance checking to bankbot.","user":{"login":"jayRyan24","id":12435369,"avatar_url":"https://avatars.githubusercontent.com/u/12435369?v=3","gravatar_id":"","url":"https://api.github.com/users/jayRyan24","html_url":"https://github.com/jayRyan24","followers_url":"https://api.github.com/users/jayRyan24/followers","following_url":"https://api.github.com/users/jayRyan24/following{/other_user}","gists_url":"https://api.github.com/users/jayRyan24/gists{/gist_id}","starred_url":"https://api.github.com/users/jayRyan24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayRyan24/subscriptions","organizations_url":"https://api.github.com/users/jayRyan24/orgs","repos_url":"https://api.github.com/users/jayRyan24/repos","events_url":"https://api.github.com/users/jayRyan24/events{/privacy}","received_events_url":"https://api.github.com/users/jayRyan24/received_events","type":"User","site_admin":false},"body":"Tested and verified. ","created_at":"2017-01-01T19:23:52Z","updated_at":"2017-01-01T19:32:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f27f3f98c93dce05a65942c1dd64dbb39c24e0e","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rpherbig/dr-scripts/milestones/8","html_url":"https://github.com/rpherbig/dr-scripts/milestone/8","labels_url":"https://api.github.com/repos/rpherbig/dr-scripts/milestones/8/labels","id":2009482,"number":8,"title":"v8","description":"","creator":{"login":"rpherbig","id":1181607,"avatar_url":"https://avatars.githubusercontent.com/u/1181607?v=3","gravatar_id":"","url":"https://api.github.com/users/rpherbig","html_url":"https://github.com/rpherbig","followers_url":"https://api.github.com/users/rpherbig/followers","following_url":"https://api.github.com/users/rpherbig/following{/other_user}","gists_url":"https://api.github.com/users/rpherbig/gists{/gist_id}","starred_url":"https://api.github.com/users/rpherbig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpherbig/subscriptions","organizations_url":"https://api.github.com/users/rpherbig/orgs","repos_url":"https://api.github.com/users/rpherbig/repos","events_url":"https://api.github.com/users/rpherbig/events{/privacy}","received_events_url":"https://api.github.com/users/rpherbig/received_events","type":"User","site_admin":false},"open_issues":110,"closed_issues":385,"state":"open","created_at":"2016-09-16T15:57:38Z","updated_at":"2017-01-01T19:28:15Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1230/commits","review_comments_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1230/comments","review_comment_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues/1230/comments","statuses_url":"https://api.github.com/repos/rpherbig/dr-scripts/statuses/326dd4907695906ef38521cb6abf491c77212458","head":{"label":"jayRyan24:add-bankbot-lnet-balance","ref":"add-bankbot-lnet-balance","sha":"326dd4907695906ef38521cb6abf491c77212458","user":{"login":"jayRyan24","id":12435369,"avatar_url":"https://avatars.githubusercontent.com/u/12435369?v=3","gravatar_id":"","url":"https://api.github.com/users/jayRyan24","html_url":"https://github.com/jayRyan24","followers_url":"https://api.github.com/users/jayRyan24/followers","following_url":"https://api.github.com/users/jayRyan24/following{/other_user}","gists_url":"https://api.github.com/users/jayRyan24/gists{/gist_id}","starred_url":"https://api.github.com/users/jayRyan24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayRyan24/subscriptions","organizations_url":"https://api.github.com/users/jayRyan24/orgs","repos_url":"https://api.github.com/users/jayRyan24/repos","events_url":"https://api.github.com/users/jayRyan24/events{/privacy}","received_events_url":"https://api.github.com/users/jayRyan24/received_events","type":"User","site_admin":false},"repo":{"id":77183242,"name":"dr-scripts","full_name":"jayRyan24/dr-scripts","owner":{"login":"jayRyan24","id":12435369,"avatar_url":"https://avatars.githubusercontent.com/u/12435369?v=3","gravatar_id":"","url":"https://api.github.com/users/jayRyan24","html_url":"https://github.com/jayRyan24","followers_url":"https://api.github.com/users/jayRyan24/followers","following_url":"https://api.github.com/users/jayRyan24/following{/other_user}","gists_url":"https://api.github.com/users/jayRyan24/gists{/gist_id}","starred_url":"https://api.github.com/users/jayRyan24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayRyan24/subscriptions","organizations_url":"https://api.github.com/users/jayRyan24/orgs","repos_url":"https://api.github.com/users/jayRyan24/repos","events_url":"https://api.github.com/users/jayRyan24/events{/privacy}","received_events_url":"https://api.github.com/users/jayRyan24/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jayRyan24/dr-scripts","description":"A series of Lich (https://lichproject.org/) scripts for use in DragonRealms (http://www.play.net/dr/). Donations are welcome (http://www.paypal.me/rcuhljr)!","fork":true,"url":"https://api.github.com/repos/jayRyan24/dr-scripts","forks_url":"https://api.github.com/repos/jayRyan24/dr-scripts/forks","keys_url":"https://api.github.com/repos/jayRyan24/dr-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jayRyan24/dr-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jayRyan24/dr-scripts/teams","hooks_url":"https://api.github.com/repos/jayRyan24/dr-scripts/hooks","issue_events_url":"https://api.github.com/repos/jayRyan24/dr-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/jayRyan24/dr-scripts/events","assignees_url":"https://api.github.com/repos/jayRyan24/dr-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/jayRyan24/dr-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/jayRyan24/dr-scripts/tags","blobs_url":"https://api.github.com/repos/jayRyan24/dr-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jayRyan24/dr-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jayRyan24/dr-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/jayRyan24/dr-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jayRyan24/dr-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/jayRyan24/dr-scripts/languages","stargazers_url":"https://api.github.com/repos/jayRyan24/dr-scripts/stargazers","contributors_url":"https://api.github.com/repos/jayRyan24/dr-scripts/contributors","subscribers_url":"https://api.github.com/repos/jayRyan24/dr-scripts/subscribers","subscription_url":"https://api.github.com/repos/jayRyan24/dr-scripts/subscription","commits_url":"https://api.github.com/repos/jayRyan24/dr-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/jayRyan24/dr-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/jayRyan24/dr-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/jayRyan24/dr-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/jayRyan24/dr-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/jayRyan24/dr-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jayRyan24/dr-scripts/merges","archive_url":"https://api.github.com/repos/jayRyan24/dr-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jayRyan24/dr-scripts/downloads","issues_url":"https://api.github.com/repos/jayRyan24/dr-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/jayRyan24/dr-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/jayRyan24/dr-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/jayRyan24/dr-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jayRyan24/dr-scripts/labels{/name}","releases_url":"https://api.github.com/repos/jayRyan24/dr-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/jayRyan24/dr-scripts/deployments","created_at":"2016-12-22T23:38:34Z","updated_at":"2016-12-22T23:38:37Z","pushed_at":"2017-01-01T19:29:56Z","git_url":"git://github.com/jayRyan24/dr-scripts.git","ssh_url":"git@github.com:jayRyan24/dr-scripts.git","clone_url":"https://github.com/jayRyan24/dr-scripts.git","svn_url":"https://github.com/jayRyan24/dr-scripts","homepage":"","size":5063,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"rpherbig:master","ref":"master","sha":"b7ae3e69a6a9cd23196bf56c8f2eb5c8d89f3a38","user":{"login":"rpherbig","id":1181607,"avatar_url":"https://avatars.githubusercontent.com/u/1181607?v=3","gravatar_id":"","url":"https://api.github.com/users/rpherbig","html_url":"https://github.com/rpherbig","followers_url":"https://api.github.com/users/rpherbig/followers","following_url":"https://api.github.com/users/rpherbig/following{/other_user}","gists_url":"https://api.github.com/users/rpherbig/gists{/gist_id}","starred_url":"https://api.github.com/users/rpherbig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpherbig/subscriptions","organizations_url":"https://api.github.com/users/rpherbig/orgs","repos_url":"https://api.github.com/users/rpherbig/repos","events_url":"https://api.github.com/users/rpherbig/events{/privacy}","received_events_url":"https://api.github.com/users/rpherbig/received_events","type":"User","site_admin":false},"repo":{"id":44390324,"name":"dr-scripts","full_name":"rpherbig/dr-scripts","owner":{"login":"rpherbig","id":1181607,"avatar_url":"https://avatars.githubusercontent.com/u/1181607?v=3","gravatar_id":"","url":"https://api.github.com/users/rpherbig","html_url":"https://github.com/rpherbig","followers_url":"https://api.github.com/users/rpherbig/followers","following_url":"https://api.github.com/users/rpherbig/following{/other_user}","gists_url":"https://api.github.com/users/rpherbig/gists{/gist_id}","starred_url":"https://api.github.com/users/rpherbig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpherbig/subscriptions","organizations_url":"https://api.github.com/users/rpherbig/orgs","repos_url":"https://api.github.com/users/rpherbig/repos","events_url":"https://api.github.com/users/rpherbig/events{/privacy}","received_events_url":"https://api.github.com/users/rpherbig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rpherbig/dr-scripts","description":"A series of Lich (https://lichproject.org/) scripts for use in DragonRealms (http://www.play.net/dr/). Donations are welcome (http://www.paypal.me/rcuhljr)!","fork":false,"url":"https://api.github.com/repos/rpherbig/dr-scripts","forks_url":"https://api.github.com/repos/rpherbig/dr-scripts/forks","keys_url":"https://api.github.com/repos/rpherbig/dr-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rpherbig/dr-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rpherbig/dr-scripts/teams","hooks_url":"https://api.github.com/repos/rpherbig/dr-scripts/hooks","issue_events_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/rpherbig/dr-scripts/events","assignees_url":"https://api.github.com/repos/rpherbig/dr-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/rpherbig/dr-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/rpherbig/dr-scripts/tags","blobs_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rpherbig/dr-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/rpherbig/dr-scripts/languages","stargazers_url":"https://api.github.com/repos/rpherbig/dr-scripts/stargazers","contributors_url":"https://api.github.com/repos/rpherbig/dr-scripts/contributors","subscribers_url":"https://api.github.com/repos/rpherbig/dr-scripts/subscribers","subscription_url":"https://api.github.com/repos/rpherbig/dr-scripts/subscription","commits_url":"https://api.github.com/repos/rpherbig/dr-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/rpherbig/dr-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/rpherbig/dr-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/rpherbig/dr-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rpherbig/dr-scripts/merges","archive_url":"https://api.github.com/repos/rpherbig/dr-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rpherbig/dr-scripts/downloads","issues_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/rpherbig/dr-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/rpherbig/dr-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rpherbig/dr-scripts/labels{/name}","releases_url":"https://api.github.com/repos/rpherbig/dr-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/rpherbig/dr-scripts/deployments","created_at":"2015-10-16T14:28:28Z","updated_at":"2016-12-12T03:10:15Z","pushed_at":"2017-01-01T19:29:57Z","git_url":"git://github.com/rpherbig/dr-scripts.git","ssh_url":"git@github.com:rpherbig/dr-scripts.git","clone_url":"https://github.com/rpherbig/dr-scripts.git","svn_url":"https://github.com/rpherbig/dr-scripts","homepage":"","size":5026,"stargazers_count":13,"watchers_count":13,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":173,"forks":23,"open_issues":173,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1230"},"html":{"href":"https://github.com/rpherbig/dr-scripts/pull/1230"},"issue":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/issues/1230"},"comments":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/issues/1230/comments"},"review_comments":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1230/comments"},"review_comment":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1230/commits"},"statuses":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/statuses/326dd4907695906ef38521cb6abf491c77212458"}}}}
{"actor":{"display_login":"rpherbig"}}