{"action":"created","comment":{"url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/pulls/comments/78886826","id":78886826,"diff_hunk":"@@ -149,6 +153,21 @@ def redirect_topic(bot, trigger):\n     process_event(bot, trigger)\n \n \n+@require_chanmsg('.logging is only permitted in channels')\n+@require_owner(\"Sorry, I can't do that for you\")\n+@module.commands(\"logging\")\n+@example('.logging (start|stop)')","path":"sopel_modules/chanlogs2/chanlogs2.py","position":46,"original_position":46,"commit_id":"ba8218499fb9866dca33df8ec3c1e5f5f81c7835","original_commit_id":"ba8218499fb9866dca33df8ec3c1e5f5f81c7835","user":{"login":"dseptem","id":19417035,"avatar_url":"https://avatars.githubusercontent.com/u/19417035?v=3","gravatar_id":"","url":"https://api.github.com/users/dseptem","html_url":"https://github.com/dseptem","followers_url":"https://api.github.com/users/dseptem/followers","following_url":"https://api.github.com/users/dseptem/following{/other_user}","gists_url":"https://api.github.com/users/dseptem/gists{/gist_id}","starred_url":"https://api.github.com/users/dseptem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dseptem/subscriptions","organizations_url":"https://api.github.com/users/dseptem/orgs","repos_url":"https://api.github.com/users/dseptem/repos","events_url":"https://api.github.com/users/dseptem/events{/privacy}","received_events_url":"https://api.github.com/users/dseptem/received_events","type":"User","site_admin":false},"body":"Is it possible to add two examples? I tried it, but on .help call, it always showed the same one, leaving one forever hidden to the user.","created_at":"2016-09-15T04:05:18Z","updated_at":"2016-09-15T04:05:18Z","html_url":"https://github.com/maxpowa/sopel-chanlogs2/pull/1#discussion_r78886826","pull_request_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/pulls/comments/78886826"},"html":{"href":"https://github.com/maxpowa/sopel-chanlogs2/pull/1#discussion_r78886826"},"pull_request":{"href":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/pulls/1","id":85164245,"html_url":"https://github.com/maxpowa/sopel-chanlogs2/pull/1","diff_url":"https://github.com/maxpowa/sopel-chanlogs2/pull/1.diff","patch_url":"https://github.com/maxpowa/sopel-chanlogs2/pull/1.patch","issue_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/issues/1","number":1,"state":"open","locked":false,"title":"\"Logging on command\" feature added","user":{"login":"dseptem","id":19417035,"avatar_url":"https://avatars.githubusercontent.com/u/19417035?v=3","gravatar_id":"","url":"https://api.github.com/users/dseptem","html_url":"https://github.com/dseptem","followers_url":"https://api.github.com/users/dseptem/followers","following_url":"https://api.github.com/users/dseptem/following{/other_user}","gists_url":"https://api.github.com/users/dseptem/gists{/gist_id}","starred_url":"https://api.github.com/users/dseptem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dseptem/subscriptions","organizations_url":"https://api.github.com/users/dseptem/orgs","repos_url":"https://api.github.com/users/dseptem/repos","events_url":"https://api.github.com/users/dseptem/events{/privacy}","received_events_url":"https://api.github.com/users/dseptem/received_events","type":"User","site_admin":false},"body":"As promised, added the complete \"logging on command\" feature.\r\nCan be set to True or False in the [chanlogs2] section of the sopel config.\r\nIs off by default, logging all channels.\r\nWhen turned on, the bot will start logging once it receives a command '.logging start' from its owner, and will stop once it receives '.logging stop'. Only accepts this command via channel messages.","created_at":"2016-09-14T04:13:33Z","updated_at":"2016-09-15T04:05:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"abf728da815c4b10e4a8dd9e563d01bc1f95fea4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/pulls/1/commits","review_comments_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/pulls/1/comments","review_comment_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/issues/1/comments","statuses_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/statuses/ba8218499fb9866dca33df8ec3c1e5f5f81c7835","head":{"label":"dseptem:logging-on-command","ref":"logging-on-command","sha":"ba8218499fb9866dca33df8ec3c1e5f5f81c7835","user":{"login":"dseptem","id":19417035,"avatar_url":"https://avatars.githubusercontent.com/u/19417035?v=3","gravatar_id":"","url":"https://api.github.com/users/dseptem","html_url":"https://github.com/dseptem","followers_url":"https://api.github.com/users/dseptem/followers","following_url":"https://api.github.com/users/dseptem/following{/other_user}","gists_url":"https://api.github.com/users/dseptem/gists{/gist_id}","starred_url":"https://api.github.com/users/dseptem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dseptem/subscriptions","organizations_url":"https://api.github.com/users/dseptem/orgs","repos_url":"https://api.github.com/users/dseptem/repos","events_url":"https://api.github.com/users/dseptem/events{/privacy}","received_events_url":"https://api.github.com/users/dseptem/received_events","type":"User","site_admin":false},"repo":{"id":68169177,"name":"sopel-chanlogs2","full_name":"dseptem/sopel-chanlogs2","owner":{"login":"dseptem","id":19417035,"avatar_url":"https://avatars.githubusercontent.com/u/19417035?v=3","gravatar_id":"","url":"https://api.github.com/users/dseptem","html_url":"https://github.com/dseptem","followers_url":"https://api.github.com/users/dseptem/followers","following_url":"https://api.github.com/users/dseptem/following{/other_user}","gists_url":"https://api.github.com/users/dseptem/gists{/gist_id}","starred_url":"https://api.github.com/users/dseptem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dseptem/subscriptions","organizations_url":"https://api.github.com/users/dseptem/orgs","repos_url":"https://api.github.com/users/dseptem/repos","events_url":"https://api.github.com/users/dseptem/events{/privacy}","received_events_url":"https://api.github.com/users/dseptem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dseptem/sopel-chanlogs2","description":"Rewrite of the sopel chanlogs module","fork":true,"url":"https://api.github.com/repos/dseptem/sopel-chanlogs2","forks_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/forks","keys_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/teams","hooks_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/hooks","issue_events_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/issues/events{/number}","events_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/events","assignees_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/assignees{/user}","branches_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/branches{/branch}","tags_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/tags","blobs_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/git/refs{/sha}","trees_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/statuses/{sha}","languages_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/languages","stargazers_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/stargazers","contributors_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/contributors","subscribers_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/subscribers","subscription_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/subscription","commits_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/commits{/sha}","git_commits_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/git/commits{/sha}","comments_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/comments{/number}","issue_comment_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/issues/comments{/number}","contents_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/contents/{+path}","compare_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/merges","archive_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/downloads","issues_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/issues{/number}","pulls_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/pulls{/number}","milestones_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/milestones{/number}","notifications_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/labels{/name}","releases_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/releases{/id}","deployments_url":"https://api.github.com/repos/dseptem/sopel-chanlogs2/deployments","created_at":"2016-09-14T03:14:01Z","updated_at":"2016-09-14T03:14:03Z","pushed_at":"2016-09-14T04:09:44Z","git_url":"git://github.com/dseptem/sopel-chanlogs2.git","ssh_url":"git@github.com:dseptem/sopel-chanlogs2.git","clone_url":"https://github.com/dseptem/sopel-chanlogs2.git","svn_url":"https://github.com/dseptem/sopel-chanlogs2","homepage":null,"size":15,"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":"maxpowa:master","ref":"master","sha":"d38f8bdc6ffc0d7fb373cfc8bb2ae89f67923c90","user":{"login":"maxpowa","id":1764978,"avatar_url":"https://avatars.githubusercontent.com/u/1764978?v=3","gravatar_id":"","url":"https://api.github.com/users/maxpowa","html_url":"https://github.com/maxpowa","followers_url":"https://api.github.com/users/maxpowa/followers","following_url":"https://api.github.com/users/maxpowa/following{/other_user}","gists_url":"https://api.github.com/users/maxpowa/gists{/gist_id}","starred_url":"https://api.github.com/users/maxpowa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxpowa/subscriptions","organizations_url":"https://api.github.com/users/maxpowa/orgs","repos_url":"https://api.github.com/users/maxpowa/repos","events_url":"https://api.github.com/users/maxpowa/events{/privacy}","received_events_url":"https://api.github.com/users/maxpowa/received_events","type":"User","site_admin":false},"repo":{"id":45662083,"name":"sopel-chanlogs2","full_name":"maxpowa/sopel-chanlogs2","owner":{"login":"maxpowa","id":1764978,"avatar_url":"https://avatars.githubusercontent.com/u/1764978?v=3","gravatar_id":"","url":"https://api.github.com/users/maxpowa","html_url":"https://github.com/maxpowa","followers_url":"https://api.github.com/users/maxpowa/followers","following_url":"https://api.github.com/users/maxpowa/following{/other_user}","gists_url":"https://api.github.com/users/maxpowa/gists{/gist_id}","starred_url":"https://api.github.com/users/maxpowa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxpowa/subscriptions","organizations_url":"https://api.github.com/users/maxpowa/orgs","repos_url":"https://api.github.com/users/maxpowa/repos","events_url":"https://api.github.com/users/maxpowa/events{/privacy}","received_events_url":"https://api.github.com/users/maxpowa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maxpowa/sopel-chanlogs2","description":"Rewrite of the sopel chanlogs module","fork":false,"url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2","forks_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/forks","keys_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/teams","hooks_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/hooks","issue_events_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/issues/events{/number}","events_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/events","assignees_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/assignees{/user}","branches_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/branches{/branch}","tags_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/tags","blobs_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/git/refs{/sha}","trees_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/statuses/{sha}","languages_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/languages","stargazers_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/stargazers","contributors_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/contributors","subscribers_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/subscribers","subscription_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/subscription","commits_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/commits{/sha}","git_commits_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/git/commits{/sha}","comments_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/comments{/number}","issue_comment_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/issues/comments{/number}","contents_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/contents/{+path}","compare_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/merges","archive_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/downloads","issues_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/issues{/number}","pulls_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/pulls{/number}","milestones_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/milestones{/number}","notifications_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/labels{/name}","releases_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/releases{/id}","deployments_url":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/deployments","created_at":"2015-11-06T05:49:10Z","updated_at":"2016-01-30T07:47:44Z","pushed_at":"2016-09-14T04:13:33Z","git_url":"git://github.com/maxpowa/sopel-chanlogs2.git","ssh_url":"git@github.com:maxpowa/sopel-chanlogs2.git","clone_url":"https://github.com/maxpowa/sopel-chanlogs2.git","svn_url":"https://github.com/maxpowa/sopel-chanlogs2","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/pulls/1"},"html":{"href":"https://github.com/maxpowa/sopel-chanlogs2/pull/1"},"issue":{"href":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/issues/1"},"comments":{"href":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/maxpowa/sopel-chanlogs2/statuses/ba8218499fb9866dca33df8ec3c1e5f5f81c7835"}}}}
{"actor":{"display_login":"dseptem"}}