{"action":"created","comment":{"url":"https://api.github.com/repos/pietroalbini/botogram/pulls/comments/82505554","pull_request_review_id":3410855,"id":82505554,"diff_hunk":"@@ -58,7 +58,9 @@ def help_command(self, bot, chat, args):\n                                  name=args[0]),\n                            bot._(\"Use /help to get a list of the commands.\")]\n         else:\n-            message = self._help_generic_message(bot, commands)\n+            sorted_commands = {cmd.name: cmd for cmd in","path":"botogram/defaults.py","position":5,"original_position":5,"commit_id":"91e0cdbda48910a28cbdf1364f2bcfd389cc71e6","original_commit_id":"91e0cdbda48910a28cbdf1364f2bcfd389cc71e6","user":{"login":"pietroalbini","id":2299951,"avatar_url":"https://avatars.githubusercontent.com/u/2299951?v=3","gravatar_id":"","url":"https://api.github.com/users/pietroalbini","html_url":"https://github.com/pietroalbini","followers_url":"https://api.github.com/users/pietroalbini/followers","following_url":"https://api.github.com/users/pietroalbini/following{/other_user}","gists_url":"https://api.github.com/users/pietroalbini/gists{/gist_id}","starred_url":"https://api.github.com/users/pietroalbini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pietroalbini/subscriptions","organizations_url":"https://api.github.com/users/pietroalbini/orgs","repos_url":"https://api.github.com/users/pietroalbini/repos","events_url":"https://api.github.com/users/pietroalbini/events{/privacy}","received_events_url":"https://api.github.com/users/pietroalbini/received_events","type":"User","site_admin":false},"body":"By using a dict here, you're breaking the ordering: dicts aren't sorted!","created_at":"2016-10-08T16:32:27Z","updated_at":"2016-10-08T16:34:22Z","html_url":"https://github.com/pietroalbini/botogram/pull/76#discussion_r82505554","pull_request_url":"https://api.github.com/repos/pietroalbini/botogram/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/pietroalbini/botogram/pulls/comments/82505554"},"html":{"href":"https://github.com/pietroalbini/botogram/pull/76#discussion_r82505554"},"pull_request":{"href":"https://api.github.com/repos/pietroalbini/botogram/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/pietroalbini/botogram/pulls/76","id":88549295,"html_url":"https://github.com/pietroalbini/botogram/pull/76","diff_url":"https://github.com/pietroalbini/botogram/pull/76.diff","patch_url":"https://github.com/pietroalbini/botogram/pull/76.patch","issue_url":"https://api.github.com/repos/pietroalbini/botogram/issues/76","number":76,"state":"open","locked":false,"title":"Add the order argument to provide a custom order in which commands are displayed by the help command","user":{"login":"paolobarbolini","id":6215781,"avatar_url":"https://avatars.githubusercontent.com/u/6215781?v=3","gravatar_id":"","url":"https://api.github.com/users/paolobarbolini","html_url":"https://github.com/paolobarbolini","followers_url":"https://api.github.com/users/paolobarbolini/followers","following_url":"https://api.github.com/users/paolobarbolini/following{/other_user}","gists_url":"https://api.github.com/users/paolobarbolini/gists{/gist_id}","starred_url":"https://api.github.com/users/paolobarbolini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paolobarbolini/subscriptions","organizations_url":"https://api.github.com/users/paolobarbolini/orgs","repos_url":"https://api.github.com/users/paolobarbolini/repos","events_url":"https://api.github.com/users/paolobarbolini/events{/privacy}","received_events_url":"https://api.github.com/users/paolobarbolini/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-08T15:34:36Z","updated_at":"2016-10-08T16:34:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d422d65129b50b851ee0ec93985fe40bedfb070","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pietroalbini/botogram/pulls/76/commits","review_comments_url":"https://api.github.com/repos/pietroalbini/botogram/pulls/76/comments","review_comment_url":"https://api.github.com/repos/pietroalbini/botogram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pietroalbini/botogram/issues/76/comments","statuses_url":"https://api.github.com/repos/pietroalbini/botogram/statuses/91e0cdbda48910a28cbdf1364f2bcfd389cc71e6","head":{"label":"paolobarbolini:master","ref":"master","sha":"91e0cdbda48910a28cbdf1364f2bcfd389cc71e6","user":{"login":"paolobarbolini","id":6215781,"avatar_url":"https://avatars.githubusercontent.com/u/6215781?v=3","gravatar_id":"","url":"https://api.github.com/users/paolobarbolini","html_url":"https://github.com/paolobarbolini","followers_url":"https://api.github.com/users/paolobarbolini/followers","following_url":"https://api.github.com/users/paolobarbolini/following{/other_user}","gists_url":"https://api.github.com/users/paolobarbolini/gists{/gist_id}","starred_url":"https://api.github.com/users/paolobarbolini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paolobarbolini/subscriptions","organizations_url":"https://api.github.com/users/paolobarbolini/orgs","repos_url":"https://api.github.com/users/paolobarbolini/repos","events_url":"https://api.github.com/users/paolobarbolini/events{/privacy}","received_events_url":"https://api.github.com/users/paolobarbolini/received_events","type":"User","site_admin":false},"repo":{"id":70336856,"name":"botogram","full_name":"paolobarbolini/botogram","owner":{"login":"paolobarbolini","id":6215781,"avatar_url":"https://avatars.githubusercontent.com/u/6215781?v=3","gravatar_id":"","url":"https://api.github.com/users/paolobarbolini","html_url":"https://github.com/paolobarbolini","followers_url":"https://api.github.com/users/paolobarbolini/followers","following_url":"https://api.github.com/users/paolobarbolini/following{/other_user}","gists_url":"https://api.github.com/users/paolobarbolini/gists{/gist_id}","starred_url":"https://api.github.com/users/paolobarbolini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paolobarbolini/subscriptions","organizations_url":"https://api.github.com/users/paolobarbolini/orgs","repos_url":"https://api.github.com/users/paolobarbolini/repos","events_url":"https://api.github.com/users/paolobarbolini/events{/privacy}","received_events_url":"https://api.github.com/users/paolobarbolini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paolobarbolini/botogram","description":"WIP - Just focus on your bots.","fork":true,"url":"https://api.github.com/repos/paolobarbolini/botogram","forks_url":"https://api.github.com/repos/paolobarbolini/botogram/forks","keys_url":"https://api.github.com/repos/paolobarbolini/botogram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paolobarbolini/botogram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paolobarbolini/botogram/teams","hooks_url":"https://api.github.com/repos/paolobarbolini/botogram/hooks","issue_events_url":"https://api.github.com/repos/paolobarbolini/botogram/issues/events{/number}","events_url":"https://api.github.com/repos/paolobarbolini/botogram/events","assignees_url":"https://api.github.com/repos/paolobarbolini/botogram/assignees{/user}","branches_url":"https://api.github.com/repos/paolobarbolini/botogram/branches{/branch}","tags_url":"https://api.github.com/repos/paolobarbolini/botogram/tags","blobs_url":"https://api.github.com/repos/paolobarbolini/botogram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paolobarbolini/botogram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paolobarbolini/botogram/git/refs{/sha}","trees_url":"https://api.github.com/repos/paolobarbolini/botogram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paolobarbolini/botogram/statuses/{sha}","languages_url":"https://api.github.com/repos/paolobarbolini/botogram/languages","stargazers_url":"https://api.github.com/repos/paolobarbolini/botogram/stargazers","contributors_url":"https://api.github.com/repos/paolobarbolini/botogram/contributors","subscribers_url":"https://api.github.com/repos/paolobarbolini/botogram/subscribers","subscription_url":"https://api.github.com/repos/paolobarbolini/botogram/subscription","commits_url":"https://api.github.com/repos/paolobarbolini/botogram/commits{/sha}","git_commits_url":"https://api.github.com/repos/paolobarbolini/botogram/git/commits{/sha}","comments_url":"https://api.github.com/repos/paolobarbolini/botogram/comments{/number}","issue_comment_url":"https://api.github.com/repos/paolobarbolini/botogram/issues/comments{/number}","contents_url":"https://api.github.com/repos/paolobarbolini/botogram/contents/{+path}","compare_url":"https://api.github.com/repos/paolobarbolini/botogram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paolobarbolini/botogram/merges","archive_url":"https://api.github.com/repos/paolobarbolini/botogram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paolobarbolini/botogram/downloads","issues_url":"https://api.github.com/repos/paolobarbolini/botogram/issues{/number}","pulls_url":"https://api.github.com/repos/paolobarbolini/botogram/pulls{/number}","milestones_url":"https://api.github.com/repos/paolobarbolini/botogram/milestones{/number}","notifications_url":"https://api.github.com/repos/paolobarbolini/botogram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paolobarbolini/botogram/labels{/name}","releases_url":"https://api.github.com/repos/paolobarbolini/botogram/releases{/id}","deployments_url":"https://api.github.com/repos/paolobarbolini/botogram/deployments","created_at":"2016-10-08T14:33:03Z","updated_at":"2016-10-08T14:33:04Z","pushed_at":"2016-10-08T16:22:26Z","git_url":"git://github.com/paolobarbolini/botogram.git","ssh_url":"git@github.com:paolobarbolini/botogram.git","clone_url":"https://github.com/paolobarbolini/botogram.git","svn_url":"https://github.com/paolobarbolini/botogram","homepage":"https://botogram.pietroalbini.io","size":1164,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"pietroalbini:master","ref":"master","sha":"3ec2a025ed90f0e0be9f14d07642a15330f99391","user":{"login":"pietroalbini","id":2299951,"avatar_url":"https://avatars.githubusercontent.com/u/2299951?v=3","gravatar_id":"","url":"https://api.github.com/users/pietroalbini","html_url":"https://github.com/pietroalbini","followers_url":"https://api.github.com/users/pietroalbini/followers","following_url":"https://api.github.com/users/pietroalbini/following{/other_user}","gists_url":"https://api.github.com/users/pietroalbini/gists{/gist_id}","starred_url":"https://api.github.com/users/pietroalbini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pietroalbini/subscriptions","organizations_url":"https://api.github.com/users/pietroalbini/orgs","repos_url":"https://api.github.com/users/pietroalbini/repos","events_url":"https://api.github.com/users/pietroalbini/events{/privacy}","received_events_url":"https://api.github.com/users/pietroalbini/received_events","type":"User","site_admin":false},"repo":{"id":38007898,"name":"botogram","full_name":"pietroalbini/botogram","owner":{"login":"pietroalbini","id":2299951,"avatar_url":"https://avatars.githubusercontent.com/u/2299951?v=3","gravatar_id":"","url":"https://api.github.com/users/pietroalbini","html_url":"https://github.com/pietroalbini","followers_url":"https://api.github.com/users/pietroalbini/followers","following_url":"https://api.github.com/users/pietroalbini/following{/other_user}","gists_url":"https://api.github.com/users/pietroalbini/gists{/gist_id}","starred_url":"https://api.github.com/users/pietroalbini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pietroalbini/subscriptions","organizations_url":"https://api.github.com/users/pietroalbini/orgs","repos_url":"https://api.github.com/users/pietroalbini/repos","events_url":"https://api.github.com/users/pietroalbini/events{/privacy}","received_events_url":"https://api.github.com/users/pietroalbini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pietroalbini/botogram","description":"WIP - Just focus on your bots.","fork":false,"url":"https://api.github.com/repos/pietroalbini/botogram","forks_url":"https://api.github.com/repos/pietroalbini/botogram/forks","keys_url":"https://api.github.com/repos/pietroalbini/botogram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pietroalbini/botogram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pietroalbini/botogram/teams","hooks_url":"https://api.github.com/repos/pietroalbini/botogram/hooks","issue_events_url":"https://api.github.com/repos/pietroalbini/botogram/issues/events{/number}","events_url":"https://api.github.com/repos/pietroalbini/botogram/events","assignees_url":"https://api.github.com/repos/pietroalbini/botogram/assignees{/user}","branches_url":"https://api.github.com/repos/pietroalbini/botogram/branches{/branch}","tags_url":"https://api.github.com/repos/pietroalbini/botogram/tags","blobs_url":"https://api.github.com/repos/pietroalbini/botogram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pietroalbini/botogram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pietroalbini/botogram/git/refs{/sha}","trees_url":"https://api.github.com/repos/pietroalbini/botogram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pietroalbini/botogram/statuses/{sha}","languages_url":"https://api.github.com/repos/pietroalbini/botogram/languages","stargazers_url":"https://api.github.com/repos/pietroalbini/botogram/stargazers","contributors_url":"https://api.github.com/repos/pietroalbini/botogram/contributors","subscribers_url":"https://api.github.com/repos/pietroalbini/botogram/subscribers","subscription_url":"https://api.github.com/repos/pietroalbini/botogram/subscription","commits_url":"https://api.github.com/repos/pietroalbini/botogram/commits{/sha}","git_commits_url":"https://api.github.com/repos/pietroalbini/botogram/git/commits{/sha}","comments_url":"https://api.github.com/repos/pietroalbini/botogram/comments{/number}","issue_comment_url":"https://api.github.com/repos/pietroalbini/botogram/issues/comments{/number}","contents_url":"https://api.github.com/repos/pietroalbini/botogram/contents/{+path}","compare_url":"https://api.github.com/repos/pietroalbini/botogram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pietroalbini/botogram/merges","archive_url":"https://api.github.com/repos/pietroalbini/botogram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pietroalbini/botogram/downloads","issues_url":"https://api.github.com/repos/pietroalbini/botogram/issues{/number}","pulls_url":"https://api.github.com/repos/pietroalbini/botogram/pulls{/number}","milestones_url":"https://api.github.com/repos/pietroalbini/botogram/milestones{/number}","notifications_url":"https://api.github.com/repos/pietroalbini/botogram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pietroalbini/botogram/labels{/name}","releases_url":"https://api.github.com/repos/pietroalbini/botogram/releases{/id}","deployments_url":"https://api.github.com/repos/pietroalbini/botogram/deployments","created_at":"2015-06-24T20:00:19Z","updated_at":"2016-10-03T15:48:10Z","pushed_at":"2016-10-08T16:22:27Z","git_url":"git://github.com/pietroalbini/botogram.git","ssh_url":"git@github.com:pietroalbini/botogram.git","clone_url":"https://github.com/pietroalbini/botogram.git","svn_url":"https://github.com/pietroalbini/botogram","homepage":"https://botogram.pietroalbini.io","size":1154,"stargazers_count":28,"watchers_count":28,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":15,"forks":10,"open_issues":15,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pietroalbini/botogram/pulls/76"},"html":{"href":"https://github.com/pietroalbini/botogram/pull/76"},"issue":{"href":"https://api.github.com/repos/pietroalbini/botogram/issues/76"},"comments":{"href":"https://api.github.com/repos/pietroalbini/botogram/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/pietroalbini/botogram/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/pietroalbini/botogram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pietroalbini/botogram/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/pietroalbini/botogram/statuses/91e0cdbda48910a28cbdf1364f2bcfd389cc71e6"}}}}
{"actor":{"display_login":"pietroalbini"}}