{"action":"created","comment":{"url":"https://api.github.com/repos/small-worlds/discordbot/pulls/comments/82409680","pull_request_review_id":3314524,"id":82409680,"diff_hunk":"@@ -1,43 +1,33 @@\n module Listing\n-  extend Discordrb::Commands::CommandContainer\n-  \n-  command :WingInitilise, description: \"Initilise the array. In case of derps.\" do |event|\n+\textend Discordrb::Commands::CommandContainer\n+\t\n \twing_list = Array.new\n-  end\n-\n-  command :WingList, description: \"Lists those who are requesting wing.\" do |event| #Simple, return the text file's contents. May consider making this a array. Also, admin lock this.\n-    \n-  end\n-  \n-  command :WingRemove, description: \"Remove a person from the wing queue\", min_args: 1, max_args: 1 do |event| #Remove someone who is on the wing list. Defo admin lock.\n+\t#The array that is wing_list is created.\n \t\n-  end\n-\n-  command :WingMe, description: \"Need a wing? &WingMe\" #Adds the person who used the command to the wing list.\n-\tto_wing = user.name # The user who typed &WingMe\n-\twing_list.push(to_wing) #add them to the array-list\n-\tevent.respond \"Added to the Wing request queue.\"\n-  end\n+\tcommand :winglist, description: \"Lists those who are requesting wing.\" do |event|\n+\t#Simple, return the array's contents. Also, admin lock this.\n+\t\t\n+\tend\n   \n-  command :WingNext, description: \"???\" #prints top line of the text file, then removes it. Essentially shouting \"Next\"\n-\ttag_me = wing_list[0] #Save first value to tag_me\n-\twing_list.uniq #Prints first value, then wipes from wing_list\n-\tevent.respond wing_list.shift + \" needs a wing\"\n-\tevent.respond \"@\" + tag_me + \", Wing request sent.\"\n-  end\n-end\n+\tcommand :wingremove, description: \"Remove a person from the wing queue\", min_args: 1, max_args: 1 do |event, target|\n+\t#Remove someone who is on the wing list. Defo admin lock.\n+\t\t\n+\tend\n \n-#command :WingInitilise\n-#wing_list - wing_list.new\n-#\n-#command :WingMe\n-#to_wing = user.name\n-#wing_list = wing_list push user.name\n-#puts \"Added to the Wing request queue.\"\n-#\n-#command :WingNext\n-#tag_me = wing_list[0]\n-#wing_list.uniq\n-#puts wing_list.shift\n-#puts \" needs a wing\"\n-#puts \"@\" + tag_me + \", Wing request sent.\"\n\\ No newline at end of file\n+\tcommand :wingme, description: \"Need a wing? &WingMe\" do |event|\n+\t#Adds the person who used the command to wing_list.\n+\t\twing_list.push(event.user.name)\n+\t\t#Find the user who typed &WingMe and add them to the array-list\n+\t\tevent.respond \"Added to the Wing request queue.\"\n+\tend\n+  \n+\tcommand :wingnext, description: \"???\" do |event|\n+\t#prints top line of the text file, then removes it. Essentially shouting \"Next\"\n+\t\ttag_me = wing_list[0]","path":"app/lists.rb","position":null,"original_position":65,"commit_id":"1c1e2bd9d32e12aee6a8ef55f38995d4f9957cd2","original_commit_id":"0eb65b19809dd57d5c7a58bd81e53a252e92ed1a","user":{"login":"ravstar52","id":8811434,"avatar_url":"https://avatars.githubusercontent.com/u/8811434?v=3","gravatar_id":"","url":"https://api.github.com/users/ravstar52","html_url":"https://github.com/ravstar52","followers_url":"https://api.github.com/users/ravstar52/followers","following_url":"https://api.github.com/users/ravstar52/following{/other_user}","gists_url":"https://api.github.com/users/ravstar52/gists{/gist_id}","starred_url":"https://api.github.com/users/ravstar52/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravstar52/subscriptions","organizations_url":"https://api.github.com/users/ravstar52/orgs","repos_url":"https://api.github.com/users/ravstar52/repos","events_url":"https://api.github.com/users/ravstar52/events{/privacy}","received_events_url":"https://api.github.com/users/ravstar52/received_events","type":"User","site_admin":false},"body":"Oh yeah, that works.","created_at":"2016-10-07T15:15:26Z","updated_at":"2016-10-07T15:57:16Z","html_url":"https://github.com/small-worlds/discordbot/pull/13#discussion_r82409680","pull_request_url":"https://api.github.com/repos/small-worlds/discordbot/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/small-worlds/discordbot/pulls/comments/82409680"},"html":{"href":"https://github.com/small-worlds/discordbot/pull/13#discussion_r82409680"},"pull_request":{"href":"https://api.github.com/repos/small-worlds/discordbot/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/small-worlds/discordbot/pulls/13","id":88322460,"html_url":"https://github.com/small-worlds/discordbot/pull/13","diff_url":"https://github.com/small-worlds/discordbot/pull/13.diff","patch_url":"https://github.com/small-worlds/discordbot/pull/13.patch","issue_url":"https://api.github.com/repos/small-worlds/discordbot/issues/13","number":13,"state":"open","locked":false,"title":"Adding wing interface to the bot. Probably","user":{"login":"ravstar52","id":8811434,"avatar_url":"https://avatars.githubusercontent.com/u/8811434?v=3","gravatar_id":"","url":"https://api.github.com/users/ravstar52","html_url":"https://github.com/ravstar52","followers_url":"https://api.github.com/users/ravstar52/followers","following_url":"https://api.github.com/users/ravstar52/following{/other_user}","gists_url":"https://api.github.com/users/ravstar52/gists{/gist_id}","starred_url":"https://api.github.com/users/ravstar52/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravstar52/subscriptions","organizations_url":"https://api.github.com/users/ravstar52/orgs","repos_url":"https://api.github.com/users/ravstar52/repos","events_url":"https://api.github.com/users/ravstar52/events{/privacy}","received_events_url":"https://api.github.com/users/ravstar52/received_events","type":"User","site_admin":false},"body":"Defo no where near where it needs to me, but it's the base line. Probably needs a lot of work, since this'd just crash at this point.","created_at":"2016-10-06T19:07:40Z","updated_at":"2016-10-07T15:57:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"506c3beaff993132a82f5f4c6d22138ac53bf316","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/small-worlds/discordbot/pulls/13/commits","review_comments_url":"https://api.github.com/repos/small-worlds/discordbot/pulls/13/comments","review_comment_url":"https://api.github.com/repos/small-worlds/discordbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/small-worlds/discordbot/issues/13/comments","statuses_url":"https://api.github.com/repos/small-worlds/discordbot/statuses/1c1e2bd9d32e12aee6a8ef55f38995d4f9957cd2","head":{"label":"small-worlds:wing_interface","ref":"wing_interface","sha":"1c1e2bd9d32e12aee6a8ef55f38995d4f9957cd2","user":{"login":"small-worlds","id":22649863,"avatar_url":"https://avatars.githubusercontent.com/u/22649863?v=3","gravatar_id":"","url":"https://api.github.com/users/small-worlds","html_url":"https://github.com/small-worlds","followers_url":"https://api.github.com/users/small-worlds/followers","following_url":"https://api.github.com/users/small-worlds/following{/other_user}","gists_url":"https://api.github.com/users/small-worlds/gists{/gist_id}","starred_url":"https://api.github.com/users/small-worlds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/small-worlds/subscriptions","organizations_url":"https://api.github.com/users/small-worlds/orgs","repos_url":"https://api.github.com/users/small-worlds/repos","events_url":"https://api.github.com/users/small-worlds/events{/privacy}","received_events_url":"https://api.github.com/users/small-worlds/received_events","type":"Organization","site_admin":false},"repo":{"id":70113089,"name":"discordbot","full_name":"small-worlds/discordbot","owner":{"login":"small-worlds","id":22649863,"avatar_url":"https://avatars.githubusercontent.com/u/22649863?v=3","gravatar_id":"","url":"https://api.github.com/users/small-worlds","html_url":"https://github.com/small-worlds","followers_url":"https://api.github.com/users/small-worlds/followers","following_url":"https://api.github.com/users/small-worlds/following{/other_user}","gists_url":"https://api.github.com/users/small-worlds/gists{/gist_id}","starred_url":"https://api.github.com/users/small-worlds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/small-worlds/subscriptions","organizations_url":"https://api.github.com/users/small-worlds/orgs","repos_url":"https://api.github.com/users/small-worlds/repos","events_url":"https://api.github.com/users/small-worlds/events{/privacy}","received_events_url":"https://api.github.com/users/small-worlds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/small-worlds/discordbot","description":null,"fork":false,"url":"https://api.github.com/repos/small-worlds/discordbot","forks_url":"https://api.github.com/repos/small-worlds/discordbot/forks","keys_url":"https://api.github.com/repos/small-worlds/discordbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/small-worlds/discordbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/small-worlds/discordbot/teams","hooks_url":"https://api.github.com/repos/small-worlds/discordbot/hooks","issue_events_url":"https://api.github.com/repos/small-worlds/discordbot/issues/events{/number}","events_url":"https://api.github.com/repos/small-worlds/discordbot/events","assignees_url":"https://api.github.com/repos/small-worlds/discordbot/assignees{/user}","branches_url":"https://api.github.com/repos/small-worlds/discordbot/branches{/branch}","tags_url":"https://api.github.com/repos/small-worlds/discordbot/tags","blobs_url":"https://api.github.com/repos/small-worlds/discordbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/small-worlds/discordbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/small-worlds/discordbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/small-worlds/discordbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/small-worlds/discordbot/statuses/{sha}","languages_url":"https://api.github.com/repos/small-worlds/discordbot/languages","stargazers_url":"https://api.github.com/repos/small-worlds/discordbot/stargazers","contributors_url":"https://api.github.com/repos/small-worlds/discordbot/contributors","subscribers_url":"https://api.github.com/repos/small-worlds/discordbot/subscribers","subscription_url":"https://api.github.com/repos/small-worlds/discordbot/subscription","commits_url":"https://api.github.com/repos/small-worlds/discordbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/small-worlds/discordbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/small-worlds/discordbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/small-worlds/discordbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/small-worlds/discordbot/contents/{+path}","compare_url":"https://api.github.com/repos/small-worlds/discordbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/small-worlds/discordbot/merges","archive_url":"https://api.github.com/repos/small-worlds/discordbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/small-worlds/discordbot/downloads","issues_url":"https://api.github.com/repos/small-worlds/discordbot/issues{/number}","pulls_url":"https://api.github.com/repos/small-worlds/discordbot/pulls{/number}","milestones_url":"https://api.github.com/repos/small-worlds/discordbot/milestones{/number}","notifications_url":"https://api.github.com/repos/small-worlds/discordbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/small-worlds/discordbot/labels{/name}","releases_url":"https://api.github.com/repos/small-worlds/discordbot/releases{/id}","deployments_url":"https://api.github.com/repos/small-worlds/discordbot/deployments","created_at":"2016-10-06T01:22:35Z","updated_at":"2016-10-06T10:16:09Z","pushed_at":"2016-10-07T15:56:57Z","git_url":"git://github.com/small-worlds/discordbot.git","ssh_url":"git@github.com:small-worlds/discordbot.git","clone_url":"https://github.com/small-worlds/discordbot.git","svn_url":"https://github.com/small-worlds/discordbot","homepage":null,"size":17,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"small-worlds:master","ref":"master","sha":"0473fe676e772d6252841c613964f4dcc5752215","user":{"login":"small-worlds","id":22649863,"avatar_url":"https://avatars.githubusercontent.com/u/22649863?v=3","gravatar_id":"","url":"https://api.github.com/users/small-worlds","html_url":"https://github.com/small-worlds","followers_url":"https://api.github.com/users/small-worlds/followers","following_url":"https://api.github.com/users/small-worlds/following{/other_user}","gists_url":"https://api.github.com/users/small-worlds/gists{/gist_id}","starred_url":"https://api.github.com/users/small-worlds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/small-worlds/subscriptions","organizations_url":"https://api.github.com/users/small-worlds/orgs","repos_url":"https://api.github.com/users/small-worlds/repos","events_url":"https://api.github.com/users/small-worlds/events{/privacy}","received_events_url":"https://api.github.com/users/small-worlds/received_events","type":"Organization","site_admin":false},"repo":{"id":70113089,"name":"discordbot","full_name":"small-worlds/discordbot","owner":{"login":"small-worlds","id":22649863,"avatar_url":"https://avatars.githubusercontent.com/u/22649863?v=3","gravatar_id":"","url":"https://api.github.com/users/small-worlds","html_url":"https://github.com/small-worlds","followers_url":"https://api.github.com/users/small-worlds/followers","following_url":"https://api.github.com/users/small-worlds/following{/other_user}","gists_url":"https://api.github.com/users/small-worlds/gists{/gist_id}","starred_url":"https://api.github.com/users/small-worlds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/small-worlds/subscriptions","organizations_url":"https://api.github.com/users/small-worlds/orgs","repos_url":"https://api.github.com/users/small-worlds/repos","events_url":"https://api.github.com/users/small-worlds/events{/privacy}","received_events_url":"https://api.github.com/users/small-worlds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/small-worlds/discordbot","description":null,"fork":false,"url":"https://api.github.com/repos/small-worlds/discordbot","forks_url":"https://api.github.com/repos/small-worlds/discordbot/forks","keys_url":"https://api.github.com/repos/small-worlds/discordbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/small-worlds/discordbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/small-worlds/discordbot/teams","hooks_url":"https://api.github.com/repos/small-worlds/discordbot/hooks","issue_events_url":"https://api.github.com/repos/small-worlds/discordbot/issues/events{/number}","events_url":"https://api.github.com/repos/small-worlds/discordbot/events","assignees_url":"https://api.github.com/repos/small-worlds/discordbot/assignees{/user}","branches_url":"https://api.github.com/repos/small-worlds/discordbot/branches{/branch}","tags_url":"https://api.github.com/repos/small-worlds/discordbot/tags","blobs_url":"https://api.github.com/repos/small-worlds/discordbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/small-worlds/discordbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/small-worlds/discordbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/small-worlds/discordbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/small-worlds/discordbot/statuses/{sha}","languages_url":"https://api.github.com/repos/small-worlds/discordbot/languages","stargazers_url":"https://api.github.com/repos/small-worlds/discordbot/stargazers","contributors_url":"https://api.github.com/repos/small-worlds/discordbot/contributors","subscribers_url":"https://api.github.com/repos/small-worlds/discordbot/subscribers","subscription_url":"https://api.github.com/repos/small-worlds/discordbot/subscription","commits_url":"https://api.github.com/repos/small-worlds/discordbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/small-worlds/discordbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/small-worlds/discordbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/small-worlds/discordbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/small-worlds/discordbot/contents/{+path}","compare_url":"https://api.github.com/repos/small-worlds/discordbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/small-worlds/discordbot/merges","archive_url":"https://api.github.com/repos/small-worlds/discordbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/small-worlds/discordbot/downloads","issues_url":"https://api.github.com/repos/small-worlds/discordbot/issues{/number}","pulls_url":"https://api.github.com/repos/small-worlds/discordbot/pulls{/number}","milestones_url":"https://api.github.com/repos/small-worlds/discordbot/milestones{/number}","notifications_url":"https://api.github.com/repos/small-worlds/discordbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/small-worlds/discordbot/labels{/name}","releases_url":"https://api.github.com/repos/small-worlds/discordbot/releases{/id}","deployments_url":"https://api.github.com/repos/small-worlds/discordbot/deployments","created_at":"2016-10-06T01:22:35Z","updated_at":"2016-10-06T10:16:09Z","pushed_at":"2016-10-07T15:56:57Z","git_url":"git://github.com/small-worlds/discordbot.git","ssh_url":"git@github.com:small-worlds/discordbot.git","clone_url":"https://github.com/small-worlds/discordbot.git","svn_url":"https://github.com/small-worlds/discordbot","homepage":null,"size":17,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/small-worlds/discordbot/pulls/13"},"html":{"href":"https://github.com/small-worlds/discordbot/pull/13"},"issue":{"href":"https://api.github.com/repos/small-worlds/discordbot/issues/13"},"comments":{"href":"https://api.github.com/repos/small-worlds/discordbot/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/small-worlds/discordbot/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/small-worlds/discordbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/small-worlds/discordbot/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/small-worlds/discordbot/statuses/1c1e2bd9d32e12aee6a8ef55f38995d4f9957cd2"}}}}
{"actor":{"display_login":"ravstar52"}}