{"action":"created","comment":{"url":"https://api.github.com/repos/zeyla/serenity.rs/pulls/comments/91896638","pull_request_review_id":12404627,"id":91896638,"diff_hunk":"@@ -0,0 +1,183 @@\n+pub use ext::framework::command::{Command, CommandType, CommandGroup};\n+\n+use ::utils::Colour;\n+use std::collections::HashMap;\n+use std::sync::Arc;\n+use ::client::Context;\n+use ::model::Message;\n+\n+fn error_embed(ctx: &Context, message: &Message, input: &str) {\n+    let _ = ctx.send_message(message.channel_id, |m| {\n+        m.embed(|e| {\n+            e.colour(Colour::dark_red())\n+                .description(input)\n+        })\n+    });\n+}\n+\n+#[allow(dead_code)]\n+pub fn with_embeds(ctx: &Context,\n+                   message: &Message,\n+                   groups: HashMap<String, Arc<CommandGroup>>,\n+                   args: Vec<String>) {\n+    if args.len() > 0 {\n+        let name = args.join(\" \");\n+        for (_, group) in groups {","path":"src/ext/framework/help_commands.rs","position":25,"original_position":25,"commit_id":"4e0ca27b6a16b6f90710283a8fe10a9498e3bb07","original_commit_id":"4e0ca27b6a16b6f90710283a8fe10a9498e3bb07","user":{"login":"fwrs","id":22685239,"avatar_url":"https://avatars.githubusercontent.com/u/22685239?v=3","gravatar_id":"","url":"https://api.github.com/users/fwrs","html_url":"https://github.com/fwrs","followers_url":"https://api.github.com/users/fwrs/followers","following_url":"https://api.github.com/users/fwrs/following{/other_user}","gists_url":"https://api.github.com/users/fwrs/gists{/gist_id}","starred_url":"https://api.github.com/users/fwrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fwrs/subscriptions","organizations_url":"https://api.github.com/users/fwrs/orgs","repos_url":"https://api.github.com/users/fwrs/repos","events_url":"https://api.github.com/users/fwrs/events{/privacy}","received_events_url":"https://api.github.com/users/fwrs/received_events","type":"User","site_admin":false},"body":"TBH we actually need to show group name in information","created_at":"2016-12-12T07:51:38Z","updated_at":"2016-12-12T07:51:38Z","html_url":"https://github.com/zeyla/serenity.rs/pull/40#discussion_r91896638","pull_request_url":"https://api.github.com/repos/zeyla/serenity.rs/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/zeyla/serenity.rs/pulls/comments/91896638"},"html":{"href":"https://github.com/zeyla/serenity.rs/pull/40#discussion_r91896638"},"pull_request":{"href":"https://api.github.com/repos/zeyla/serenity.rs/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/zeyla/serenity.rs/pulls/40","id":97457197,"html_url":"https://github.com/zeyla/serenity.rs/pull/40","diff_url":"https://github.com/zeyla/serenity.rs/pull/40.diff","patch_url":"https://github.com/zeyla/serenity.rs/pull/40.patch","issue_url":"https://api.github.com/repos/zeyla/serenity.rs/issues/40","number":40,"state":"open","locked":false,"title":"Implement command groups","user":{"login":"fwrs","id":22685239,"avatar_url":"https://avatars.githubusercontent.com/u/22685239?v=3","gravatar_id":"","url":"https://api.github.com/users/fwrs","html_url":"https://github.com/fwrs","followers_url":"https://api.github.com/users/fwrs/followers","following_url":"https://api.github.com/users/fwrs/following{/other_user}","gists_url":"https://api.github.com/users/fwrs/gists{/gist_id}","starred_url":"https://api.github.com/users/fwrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fwrs/subscriptions","organizations_url":"https://api.github.com/users/fwrs/orgs","repos_url":"https://api.github.com/users/fwrs/repos","events_url":"https://api.github.com/users/fwrs/events{/privacy}","received_events_url":"https://api.github.com/users/fwrs/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-11T12:18:53Z","updated_at":"2016-12-12T07:51:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f5000461d8d14bcffb65b69cde3a8e3642e893e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zeyla/serenity.rs/pulls/40/commits","review_comments_url":"https://api.github.com/repos/zeyla/serenity.rs/pulls/40/comments","review_comment_url":"https://api.github.com/repos/zeyla/serenity.rs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zeyla/serenity.rs/issues/40/comments","statuses_url":"https://api.github.com/repos/zeyla/serenity.rs/statuses/4e0ca27b6a16b6f90710283a8fe10a9498e3bb07","head":{"label":"fwrs:command-groups","ref":"command-groups","sha":"4e0ca27b6a16b6f90710283a8fe10a9498e3bb07","user":{"login":"fwrs","id":22685239,"avatar_url":"https://avatars.githubusercontent.com/u/22685239?v=3","gravatar_id":"","url":"https://api.github.com/users/fwrs","html_url":"https://github.com/fwrs","followers_url":"https://api.github.com/users/fwrs/followers","following_url":"https://api.github.com/users/fwrs/following{/other_user}","gists_url":"https://api.github.com/users/fwrs/gists{/gist_id}","starred_url":"https://api.github.com/users/fwrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fwrs/subscriptions","organizations_url":"https://api.github.com/users/fwrs/orgs","repos_url":"https://api.github.com/users/fwrs/repos","events_url":"https://api.github.com/users/fwrs/events{/privacy}","received_events_url":"https://api.github.com/users/fwrs/received_events","type":"User","site_admin":false},"repo":{"id":76165041,"name":"serenity.rs","full_name":"fwrs/serenity.rs","owner":{"login":"fwrs","id":22685239,"avatar_url":"https://avatars.githubusercontent.com/u/22685239?v=3","gravatar_id":"","url":"https://api.github.com/users/fwrs","html_url":"https://github.com/fwrs","followers_url":"https://api.github.com/users/fwrs/followers","following_url":"https://api.github.com/users/fwrs/following{/other_user}","gists_url":"https://api.github.com/users/fwrs/gists{/gist_id}","starred_url":"https://api.github.com/users/fwrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fwrs/subscriptions","organizations_url":"https://api.github.com/users/fwrs/orgs","repos_url":"https://api.github.com/users/fwrs/repos","events_url":"https://api.github.com/users/fwrs/events{/privacy}","received_events_url":"https://api.github.com/users/fwrs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fwrs/serenity.rs","description":"An ergonomic and high-level Rust library for the Discord API.","fork":true,"url":"https://api.github.com/repos/fwrs/serenity.rs","forks_url":"https://api.github.com/repos/fwrs/serenity.rs/forks","keys_url":"https://api.github.com/repos/fwrs/serenity.rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fwrs/serenity.rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fwrs/serenity.rs/teams","hooks_url":"https://api.github.com/repos/fwrs/serenity.rs/hooks","issue_events_url":"https://api.github.com/repos/fwrs/serenity.rs/issues/events{/number}","events_url":"https://api.github.com/repos/fwrs/serenity.rs/events","assignees_url":"https://api.github.com/repos/fwrs/serenity.rs/assignees{/user}","branches_url":"https://api.github.com/repos/fwrs/serenity.rs/branches{/branch}","tags_url":"https://api.github.com/repos/fwrs/serenity.rs/tags","blobs_url":"https://api.github.com/repos/fwrs/serenity.rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fwrs/serenity.rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fwrs/serenity.rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/fwrs/serenity.rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fwrs/serenity.rs/statuses/{sha}","languages_url":"https://api.github.com/repos/fwrs/serenity.rs/languages","stargazers_url":"https://api.github.com/repos/fwrs/serenity.rs/stargazers","contributors_url":"https://api.github.com/repos/fwrs/serenity.rs/contributors","subscribers_url":"https://api.github.com/repos/fwrs/serenity.rs/subscribers","subscription_url":"https://api.github.com/repos/fwrs/serenity.rs/subscription","commits_url":"https://api.github.com/repos/fwrs/serenity.rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/fwrs/serenity.rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/fwrs/serenity.rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/fwrs/serenity.rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/fwrs/serenity.rs/contents/{+path}","compare_url":"https://api.github.com/repos/fwrs/serenity.rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fwrs/serenity.rs/merges","archive_url":"https://api.github.com/repos/fwrs/serenity.rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fwrs/serenity.rs/downloads","issues_url":"https://api.github.com/repos/fwrs/serenity.rs/issues{/number}","pulls_url":"https://api.github.com/repos/fwrs/serenity.rs/pulls{/number}","milestones_url":"https://api.github.com/repos/fwrs/serenity.rs/milestones{/number}","notifications_url":"https://api.github.com/repos/fwrs/serenity.rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fwrs/serenity.rs/labels{/name}","releases_url":"https://api.github.com/repos/fwrs/serenity.rs/releases{/id}","deployments_url":"https://api.github.com/repos/fwrs/serenity.rs/deployments","created_at":"2016-12-11T09:26:31Z","updated_at":"2016-12-11T09:26:33Z","pushed_at":"2016-12-11T19:31:03Z","git_url":"git://github.com/fwrs/serenity.rs.git","ssh_url":"git@github.com:fwrs/serenity.rs.git","clone_url":"https://github.com/fwrs/serenity.rs.git","svn_url":"https://github.com/fwrs/serenity.rs","homepage":"https://serenity.zey.moe","size":646,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"zeyla:master","ref":"master","sha":"e44838f4339b90817b5eba5df16230b02487f0cc","user":{"login":"zeyla","id":23287880,"avatar_url":"https://avatars.githubusercontent.com/u/23287880?v=3","gravatar_id":"","url":"https://api.github.com/users/zeyla","html_url":"https://github.com/zeyla","followers_url":"https://api.github.com/users/zeyla/followers","following_url":"https://api.github.com/users/zeyla/following{/other_user}","gists_url":"https://api.github.com/users/zeyla/gists{/gist_id}","starred_url":"https://api.github.com/users/zeyla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeyla/subscriptions","organizations_url":"https://api.github.com/users/zeyla/orgs","repos_url":"https://api.github.com/users/zeyla/repos","events_url":"https://api.github.com/users/zeyla/events{/privacy}","received_events_url":"https://api.github.com/users/zeyla/received_events","type":"User","site_admin":false},"repo":{"id":73012103,"name":"serenity.rs","full_name":"zeyla/serenity.rs","owner":{"login":"zeyla","id":23287880,"avatar_url":"https://avatars.githubusercontent.com/u/23287880?v=3","gravatar_id":"","url":"https://api.github.com/users/zeyla","html_url":"https://github.com/zeyla","followers_url":"https://api.github.com/users/zeyla/followers","following_url":"https://api.github.com/users/zeyla/following{/other_user}","gists_url":"https://api.github.com/users/zeyla/gists{/gist_id}","starred_url":"https://api.github.com/users/zeyla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeyla/subscriptions","organizations_url":"https://api.github.com/users/zeyla/orgs","repos_url":"https://api.github.com/users/zeyla/repos","events_url":"https://api.github.com/users/zeyla/events{/privacy}","received_events_url":"https://api.github.com/users/zeyla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zeyla/serenity.rs","description":"An ergonomic and high-level Rust library for the Discord API.","fork":false,"url":"https://api.github.com/repos/zeyla/serenity.rs","forks_url":"https://api.github.com/repos/zeyla/serenity.rs/forks","keys_url":"https://api.github.com/repos/zeyla/serenity.rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeyla/serenity.rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeyla/serenity.rs/teams","hooks_url":"https://api.github.com/repos/zeyla/serenity.rs/hooks","issue_events_url":"https://api.github.com/repos/zeyla/serenity.rs/issues/events{/number}","events_url":"https://api.github.com/repos/zeyla/serenity.rs/events","assignees_url":"https://api.github.com/repos/zeyla/serenity.rs/assignees{/user}","branches_url":"https://api.github.com/repos/zeyla/serenity.rs/branches{/branch}","tags_url":"https://api.github.com/repos/zeyla/serenity.rs/tags","blobs_url":"https://api.github.com/repos/zeyla/serenity.rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeyla/serenity.rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeyla/serenity.rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeyla/serenity.rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeyla/serenity.rs/statuses/{sha}","languages_url":"https://api.github.com/repos/zeyla/serenity.rs/languages","stargazers_url":"https://api.github.com/repos/zeyla/serenity.rs/stargazers","contributors_url":"https://api.github.com/repos/zeyla/serenity.rs/contributors","subscribers_url":"https://api.github.com/repos/zeyla/serenity.rs/subscribers","subscription_url":"https://api.github.com/repos/zeyla/serenity.rs/subscription","commits_url":"https://api.github.com/repos/zeyla/serenity.rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeyla/serenity.rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeyla/serenity.rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeyla/serenity.rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeyla/serenity.rs/contents/{+path}","compare_url":"https://api.github.com/repos/zeyla/serenity.rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeyla/serenity.rs/merges","archive_url":"https://api.github.com/repos/zeyla/serenity.rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeyla/serenity.rs/downloads","issues_url":"https://api.github.com/repos/zeyla/serenity.rs/issues{/number}","pulls_url":"https://api.github.com/repos/zeyla/serenity.rs/pulls{/number}","milestones_url":"https://api.github.com/repos/zeyla/serenity.rs/milestones{/number}","notifications_url":"https://api.github.com/repos/zeyla/serenity.rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeyla/serenity.rs/labels{/name}","releases_url":"https://api.github.com/repos/zeyla/serenity.rs/releases{/id}","deployments_url":"https://api.github.com/repos/zeyla/serenity.rs/deployments","created_at":"2016-11-06T18:59:56Z","updated_at":"2016-12-10T19:45:25Z","pushed_at":"2016-12-11T19:31:04Z","git_url":"git://github.com/zeyla/serenity.rs.git","ssh_url":"git@github.com:zeyla/serenity.rs.git","clone_url":"https://github.com/zeyla/serenity.rs.git","svn_url":"https://github.com/zeyla/serenity.rs","homepage":"https://serenity.zey.moe","size":767,"stargazers_count":33,"watchers_count":33,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":6,"forks":10,"open_issues":6,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zeyla/serenity.rs/pulls/40"},"html":{"href":"https://github.com/zeyla/serenity.rs/pull/40"},"issue":{"href":"https://api.github.com/repos/zeyla/serenity.rs/issues/40"},"comments":{"href":"https://api.github.com/repos/zeyla/serenity.rs/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/zeyla/serenity.rs/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/zeyla/serenity.rs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zeyla/serenity.rs/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/zeyla/serenity.rs/statuses/4e0ca27b6a16b6f90710283a8fe10a9498e3bb07"}}}}
{"actor":{"display_login":"fwrs"}}