{"action":"created","comment":{"url":"https://api.github.com/repos/smmalis37/ZBot/pulls/comments/103819559","pull_request_review_id":24621688,"id":103819559,"diff_hunk":"@@ -32,6 +36,21 @@\n             await client.replace_roles(author, *new_roles)\n             await client.send_message(message.channel, \"Changed your color to \" + words[1])\n \n+async def change_song(message):\n+    global current_track\n+    global elevator\n+    contents = message.content.split(' ')\n+    if len(contents) == 2\n+        song = message.content.split(' ')[1]\n+    else:\n+        await client.send_message(message.channel, 'The current song is : \"{}\"'.format(elevator.title))","path":"bot.py","position":22,"original_position":22,"commit_id":"868e24f7e5527682a0e9013f2ce32b973933d6b7","original_commit_id":"868e24f7e5527682a0e9013f2ce32b973933d6b7","user":{"login":"smmalis37","id":4054472,"avatar_url":"https://avatars0.githubusercontent.com/u/4054472?v=3","gravatar_id":"","url":"https://api.github.com/users/smmalis37","html_url":"https://github.com/smmalis37","followers_url":"https://api.github.com/users/smmalis37/followers","following_url":"https://api.github.com/users/smmalis37/following{/other_user}","gists_url":"https://api.github.com/users/smmalis37/gists{/gist_id}","starred_url":"https://api.github.com/users/smmalis37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smmalis37/subscriptions","organizations_url":"https://api.github.com/users/smmalis37/orgs","repos_url":"https://api.github.com/users/smmalis37/repos","events_url":"https://api.github.com/users/smmalis37/events{/privacy}","received_events_url":"https://api.github.com/users/smmalis37/received_events","type":"User","site_admin":false},"body":"This else should return, since song won't be set.","created_at":"2017-03-01T23:46:28Z","updated_at":"2017-03-01T23:46:33Z","html_url":"https://github.com/smmalis37/ZBot/pull/2#discussion_r103819559","pull_request_url":"https://api.github.com/repos/smmalis37/ZBot/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/smmalis37/ZBot/pulls/comments/103819559"},"html":{"href":"https://github.com/smmalis37/ZBot/pull/2#discussion_r103819559"},"pull_request":{"href":"https://api.github.com/repos/smmalis37/ZBot/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/smmalis37/ZBot/pulls/2","id":108652719,"html_url":"https://github.com/smmalis37/ZBot/pull/2","diff_url":"https://github.com/smmalis37/ZBot/pull/2.diff","patch_url":"https://github.com/smmalis37/ZBot/pull/2.patch","issue_url":"https://api.github.com/repos/smmalis37/ZBot/issues/2","number":2,"state":"open","locked":false,"title":"allow changing song","user":{"login":"willmtemple","id":666532,"avatar_url":"https://avatars3.githubusercontent.com/u/666532?v=3","gravatar_id":"","url":"https://api.github.com/users/willmtemple","html_url":"https://github.com/willmtemple","followers_url":"https://api.github.com/users/willmtemple/followers","following_url":"https://api.github.com/users/willmtemple/following{/other_user}","gists_url":"https://api.github.com/users/willmtemple/gists{/gist_id}","starred_url":"https://api.github.com/users/willmtemple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willmtemple/subscriptions","organizations_url":"https://api.github.com/users/willmtemple/orgs","repos_url":"https://api.github.com/users/willmtemple/repos","events_url":"https://api.github.com/users/willmtemple/events{/privacy}","received_events_url":"https://api.github.com/users/willmtemple/received_events","type":"User","site_admin":false},"body":"Signed-off-by: William Temple <willmtemple@gmail.com>","created_at":"2017-03-01T23:23:49Z","updated_at":"2017-03-01T23:46:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d38c537e034d39f443416ee5782ec0b429cb5284","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/smmalis37/ZBot/pulls/2/commits","review_comments_url":"https://api.github.com/repos/smmalis37/ZBot/pulls/2/comments","review_comment_url":"https://api.github.com/repos/smmalis37/ZBot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/smmalis37/ZBot/issues/2/comments","statuses_url":"https://api.github.com/repos/smmalis37/ZBot/statuses/868e24f7e5527682a0e9013f2ce32b973933d6b7","head":{"label":"willmtemple:master","ref":"master","sha":"868e24f7e5527682a0e9013f2ce32b973933d6b7","user":{"login":"willmtemple","id":666532,"avatar_url":"https://avatars3.githubusercontent.com/u/666532?v=3","gravatar_id":"","url":"https://api.github.com/users/willmtemple","html_url":"https://github.com/willmtemple","followers_url":"https://api.github.com/users/willmtemple/followers","following_url":"https://api.github.com/users/willmtemple/following{/other_user}","gists_url":"https://api.github.com/users/willmtemple/gists{/gist_id}","starred_url":"https://api.github.com/users/willmtemple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willmtemple/subscriptions","organizations_url":"https://api.github.com/users/willmtemple/orgs","repos_url":"https://api.github.com/users/willmtemple/repos","events_url":"https://api.github.com/users/willmtemple/events{/privacy}","received_events_url":"https://api.github.com/users/willmtemple/received_events","type":"User","site_admin":false},"repo":{"id":80332746,"name":"ZBot","full_name":"willmtemple/ZBot","owner":{"login":"willmtemple","id":666532,"avatar_url":"https://avatars3.githubusercontent.com/u/666532?v=3","gravatar_id":"","url":"https://api.github.com/users/willmtemple","html_url":"https://github.com/willmtemple","followers_url":"https://api.github.com/users/willmtemple/followers","following_url":"https://api.github.com/users/willmtemple/following{/other_user}","gists_url":"https://api.github.com/users/willmtemple/gists{/gist_id}","starred_url":"https://api.github.com/users/willmtemple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willmtemple/subscriptions","organizations_url":"https://api.github.com/users/willmtemple/orgs","repos_url":"https://api.github.com/users/willmtemple/repos","events_url":"https://api.github.com/users/willmtemple/events{/privacy}","received_events_url":"https://api.github.com/users/willmtemple/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/willmtemple/ZBot","description":"A discord bot","fork":true,"url":"https://api.github.com/repos/willmtemple/ZBot","forks_url":"https://api.github.com/repos/willmtemple/ZBot/forks","keys_url":"https://api.github.com/repos/willmtemple/ZBot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/willmtemple/ZBot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/willmtemple/ZBot/teams","hooks_url":"https://api.github.com/repos/willmtemple/ZBot/hooks","issue_events_url":"https://api.github.com/repos/willmtemple/ZBot/issues/events{/number}","events_url":"https://api.github.com/repos/willmtemple/ZBot/events","assignees_url":"https://api.github.com/repos/willmtemple/ZBot/assignees{/user}","branches_url":"https://api.github.com/repos/willmtemple/ZBot/branches{/branch}","tags_url":"https://api.github.com/repos/willmtemple/ZBot/tags","blobs_url":"https://api.github.com/repos/willmtemple/ZBot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/willmtemple/ZBot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/willmtemple/ZBot/git/refs{/sha}","trees_url":"https://api.github.com/repos/willmtemple/ZBot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/willmtemple/ZBot/statuses/{sha}","languages_url":"https://api.github.com/repos/willmtemple/ZBot/languages","stargazers_url":"https://api.github.com/repos/willmtemple/ZBot/stargazers","contributors_url":"https://api.github.com/repos/willmtemple/ZBot/contributors","subscribers_url":"https://api.github.com/repos/willmtemple/ZBot/subscribers","subscription_url":"https://api.github.com/repos/willmtemple/ZBot/subscription","commits_url":"https://api.github.com/repos/willmtemple/ZBot/commits{/sha}","git_commits_url":"https://api.github.com/repos/willmtemple/ZBot/git/commits{/sha}","comments_url":"https://api.github.com/repos/willmtemple/ZBot/comments{/number}","issue_comment_url":"https://api.github.com/repos/willmtemple/ZBot/issues/comments{/number}","contents_url":"https://api.github.com/repos/willmtemple/ZBot/contents/{+path}","compare_url":"https://api.github.com/repos/willmtemple/ZBot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/willmtemple/ZBot/merges","archive_url":"https://api.github.com/repos/willmtemple/ZBot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/willmtemple/ZBot/downloads","issues_url":"https://api.github.com/repos/willmtemple/ZBot/issues{/number}","pulls_url":"https://api.github.com/repos/willmtemple/ZBot/pulls{/number}","milestones_url":"https://api.github.com/repos/willmtemple/ZBot/milestones{/number}","notifications_url":"https://api.github.com/repos/willmtemple/ZBot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/willmtemple/ZBot/labels{/name}","releases_url":"https://api.github.com/repos/willmtemple/ZBot/releases{/id}","deployments_url":"https://api.github.com/repos/willmtemple/ZBot/deployments","created_at":"2017-01-29T06:41:49Z","updated_at":"2017-01-29T06:41:51Z","pushed_at":"2017-03-01T23:45:22Z","git_url":"git://github.com/willmtemple/ZBot.git","ssh_url":"git@github.com:willmtemple/ZBot.git","clone_url":"https://github.com/willmtemple/ZBot.git","svn_url":"https://github.com/willmtemple/ZBot","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"smmalis37:master","ref":"master","sha":"2960b3a065cfc533c8934e960e28d62ad44d91e8","user":{"login":"smmalis37","id":4054472,"avatar_url":"https://avatars0.githubusercontent.com/u/4054472?v=3","gravatar_id":"","url":"https://api.github.com/users/smmalis37","html_url":"https://github.com/smmalis37","followers_url":"https://api.github.com/users/smmalis37/followers","following_url":"https://api.github.com/users/smmalis37/following{/other_user}","gists_url":"https://api.github.com/users/smmalis37/gists{/gist_id}","starred_url":"https://api.github.com/users/smmalis37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smmalis37/subscriptions","organizations_url":"https://api.github.com/users/smmalis37/orgs","repos_url":"https://api.github.com/users/smmalis37/repos","events_url":"https://api.github.com/users/smmalis37/events{/privacy}","received_events_url":"https://api.github.com/users/smmalis37/received_events","type":"User","site_admin":false},"repo":{"id":50225298,"name":"ZBot","full_name":"smmalis37/ZBot","owner":{"login":"smmalis37","id":4054472,"avatar_url":"https://avatars0.githubusercontent.com/u/4054472?v=3","gravatar_id":"","url":"https://api.github.com/users/smmalis37","html_url":"https://github.com/smmalis37","followers_url":"https://api.github.com/users/smmalis37/followers","following_url":"https://api.github.com/users/smmalis37/following{/other_user}","gists_url":"https://api.github.com/users/smmalis37/gists{/gist_id}","starred_url":"https://api.github.com/users/smmalis37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smmalis37/subscriptions","organizations_url":"https://api.github.com/users/smmalis37/orgs","repos_url":"https://api.github.com/users/smmalis37/repos","events_url":"https://api.github.com/users/smmalis37/events{/privacy}","received_events_url":"https://api.github.com/users/smmalis37/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smmalis37/ZBot","description":"A discord bot","fork":false,"url":"https://api.github.com/repos/smmalis37/ZBot","forks_url":"https://api.github.com/repos/smmalis37/ZBot/forks","keys_url":"https://api.github.com/repos/smmalis37/ZBot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smmalis37/ZBot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smmalis37/ZBot/teams","hooks_url":"https://api.github.com/repos/smmalis37/ZBot/hooks","issue_events_url":"https://api.github.com/repos/smmalis37/ZBot/issues/events{/number}","events_url":"https://api.github.com/repos/smmalis37/ZBot/events","assignees_url":"https://api.github.com/repos/smmalis37/ZBot/assignees{/user}","branches_url":"https://api.github.com/repos/smmalis37/ZBot/branches{/branch}","tags_url":"https://api.github.com/repos/smmalis37/ZBot/tags","blobs_url":"https://api.github.com/repos/smmalis37/ZBot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smmalis37/ZBot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smmalis37/ZBot/git/refs{/sha}","trees_url":"https://api.github.com/repos/smmalis37/ZBot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smmalis37/ZBot/statuses/{sha}","languages_url":"https://api.github.com/repos/smmalis37/ZBot/languages","stargazers_url":"https://api.github.com/repos/smmalis37/ZBot/stargazers","contributors_url":"https://api.github.com/repos/smmalis37/ZBot/contributors","subscribers_url":"https://api.github.com/repos/smmalis37/ZBot/subscribers","subscription_url":"https://api.github.com/repos/smmalis37/ZBot/subscription","commits_url":"https://api.github.com/repos/smmalis37/ZBot/commits{/sha}","git_commits_url":"https://api.github.com/repos/smmalis37/ZBot/git/commits{/sha}","comments_url":"https://api.github.com/repos/smmalis37/ZBot/comments{/number}","issue_comment_url":"https://api.github.com/repos/smmalis37/ZBot/issues/comments{/number}","contents_url":"https://api.github.com/repos/smmalis37/ZBot/contents/{+path}","compare_url":"https://api.github.com/repos/smmalis37/ZBot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smmalis37/ZBot/merges","archive_url":"https://api.github.com/repos/smmalis37/ZBot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smmalis37/ZBot/downloads","issues_url":"https://api.github.com/repos/smmalis37/ZBot/issues{/number}","pulls_url":"https://api.github.com/repos/smmalis37/ZBot/pulls{/number}","milestones_url":"https://api.github.com/repos/smmalis37/ZBot/milestones{/number}","notifications_url":"https://api.github.com/repos/smmalis37/ZBot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smmalis37/ZBot/labels{/name}","releases_url":"https://api.github.com/repos/smmalis37/ZBot/releases{/id}","deployments_url":"https://api.github.com/repos/smmalis37/ZBot/deployments","created_at":"2016-01-23T05:40:40Z","updated_at":"2017-03-01T23:13:19Z","pushed_at":"2017-03-01T23:45:23Z","git_url":"git://github.com/smmalis37/ZBot.git","ssh_url":"git@github.com:smmalis37/ZBot.git","clone_url":"https://github.com/smmalis37/ZBot.git","svn_url":"https://github.com/smmalis37/ZBot","homepage":null,"size":7,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/smmalis37/ZBot/pulls/2"},"html":{"href":"https://github.com/smmalis37/ZBot/pull/2"},"issue":{"href":"https://api.github.com/repos/smmalis37/ZBot/issues/2"},"comments":{"href":"https://api.github.com/repos/smmalis37/ZBot/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/smmalis37/ZBot/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/smmalis37/ZBot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/smmalis37/ZBot/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/smmalis37/ZBot/statuses/868e24f7e5527682a0e9013f2ce32b973933d6b7"}}}}
{"actor":{"display_login":"smmalis37"}}