payload: {"action":"opened","number":863,"pull_request":{"url":"https://api.github.com/repos/42wim/matterbridge/pulls/863","id":297425381,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk3NDI1Mzgx","html_url":"https://github.com/42wim/matterbridge/pull/863","diff_url":"https://github.com/42wim/matterbridge/pull/863.diff","patch_url":"https://github.com/42wim/matterbridge/pull/863.patch","issue_url":"https://api.github.com/repos/42wim/matterbridge/issues/863","number":863,"state":"open","locked":false,"title":"Add support for discord category channels (discord)","user":{"login":"42wim","id":1810977,"node_id":"MDQ6VXNlcjE4MTA5Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/1810977?v=4","gravatar_id":"","url":"https://api.github.com/users/42wim","html_url":"https://github.com/42wim","followers_url":"https://api.github.com/users/42wim/followers","following_url":"https://api.github.com/users/42wim/following{/other_user}","gists_url":"https://api.github.com/users/42wim/gists{/gist_id}","starred_url":"https://api.github.com/users/42wim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/42wim/subscriptions","organizations_url":"https://api.github.com/users/42wim/orgs","repos_url":"https://api.github.com/users/42wim/repos","events_url":"https://api.github.com/users/42wim/events{/privacy}","received_events_url":"https://api.github.com/users/42wim/received_events","type":"User","site_admin":false},"body":"This adds support for the discord category option that can be used\r\nto group channels in. This means we can have multiple channels with\r\nthe same name.\r\n\r\nWe add the option to specify a category in the channel option of a\r\ndiscord account under `[[gateway]]`\r\n\r\nBesides `channel=\"channel\"` or `channel=\"ID:channelID\"`, now also\r\n`channel=\"category/channel\"` can be specified.\r\n\r\nThis change remains backwards compatible with people that haven't\r\nspecified the category and incorporates the fix in #861\r\n\r\n@qaisjp sorry but this roll backs a bit of your code in #861 \r\n\r\nAny comments?","created_at":"2019-07-14T20:26:45Z","updated_at":"2019-07-14T20:26:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/42wim/matterbridge/pulls/863/commits","review_comments_url":"https://api.github.com/repos/42wim/matterbridge/pulls/863/comments","review_comment_url":"https://api.github.com/repos/42wim/matterbridge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/42wim/matterbridge/issues/863/comments","statuses_url":"https://api.github.com/repos/42wim/matterbridge/statuses/67107da393c872f37d05d4c618de4d22082b772d","head":{"label":"42wim:f-dcat","ref":"f-dcat","sha":"67107da393c872f37d05d4c618de4d22082b772d","user":{"login":"42wim","id":1810977,"node_id":"MDQ6VXNlcjE4MTA5Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/1810977?v=4","gravatar_id":"","url":"https://api.github.com/users/42wim","html_url":"https://github.com/42wim","followers_url":"https://api.github.com/users/42wim/followers","following_url":"https://api.github.com/users/42wim/following{/other_user}","gists_url":"https://api.github.com/users/42wim/gists{/gist_id}","starred_url":"https://api.github.com/users/42wim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/42wim/subscriptions","organizations_url":"https://api.github.com/users/42wim/orgs","repos_url":"https://api.github.com/users/42wim/repos","events_url":"https://api.github.com/users/42wim/events{/privacy}","received_events_url":"https://api.github.com/users/42wim/received_events","type":"User","site_admin":false},"repo":{"id":44820350,"node_id":"MDEwOlJlcG9zaXRvcnk0NDgyMDM1MA==","name":"matterbridge","full_name":"42wim/matterbridge","private":false,"owner":{"login":"42wim","id":1810977,"node_id":"MDQ6VXNlcjE4MTA5Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/1810977?v=4","gravatar_id":"","url":"https://api.github.com/users/42wim","html_url":"https://github.com/42wim","followers_url":"https://api.github.com/users/42wim/followers","following_url":"https://api.github.com/users/42wim/following{/other_user}","gists_url":"https://api.github.com/users/42wim/gists{/gist_id}","starred_url":"https://api.github.com/users/42wim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/42wim/subscriptions","organizations_url":"https://api.github.com/users/42wim/orgs","repos_url":"https://api.github.com/users/42wim/repos","events_url":"https://api.github.com/users/42wim/events{/privacy}","received_events_url":"https://api.github.com/users/42wim/received_events","type":"User","site_admin":false},"html_url":"https://github.com/42wim/matterbridge","description":"bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocket.chat, steam, twitch, ssh-chat, zulip, whatsapp and matrix with REST API (mattermost not required!)","fork":false,"url":"https://api.github.com/repos/42wim/matterbridge","forks_url":"https://api.github.com/repos/42wim/matterbridge/forks","keys_url":"https://api.github.com/repos/42wim/matterbridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/42wim/matterbridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/42wim/matterbridge/teams","hooks_url":"https://api.github.com/repos/42wim/matterbridge/hooks","issue_events_url":"https://api.github.com/repos/42wim/matterbridge/issues/events{/number}","events_url":"https://api.github.com/repos/42wim/matterbridge/events","assignees_url":"https://api.github.com/repos/42wim/matterbridge/assignees{/user}","branches_url":"https://api.github.com/repos/42wim/matterbridge/branches{/branch}","tags_url":"https://api.github.com/repos/42wim/matterbridge/tags","blobs_url":"https://api.github.com/repos/42wim/matterbridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/42wim/matterbridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/42wim/matterbridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/42wim/matterbridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/42wim/matterbridge/statuses/{sha}","languages_url":"https://api.github.com/repos/42wim/matterbridge/languages","stargazers_url":"https://api.github.com/repos/42wim/matterbridge/stargazers","contributors_url":"https://api.github.com/repos/42wim/matterbridge/contributors","subscribers_url":"https://api.github.com/repos/42wim/matterbridge/subscribers","subscription_url":"https://api.github.com/repos/42wim/matterbridge/subscription","commits_url":"https://api.github.com/repos/42wim/matterbridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/42wim/matterbridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/42wim/matterbridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/42wim/matterbridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/42wim/matterbridge/contents/{+path}","compare_url":"https://api.github.com/repos/42wim/matterbridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/42wim/matterbridge/merges","archive_url":"https://api.github.com/repos/42wim/matterbridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/42wim/matterbridge/downloads","issues_url":"https://api.github.com/repos/42wim/matterbridge/issues{/number}","pulls_url":"https://api.github.com/repos/42wim/matterbridge/pulls{/number}","milestones_url":"https://api.github.com/repos/42wim/matterbridge/milestones{/number}","notifications_url":"https://api.github.com/repos/42wim/matterbridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/42wim/matterbridge/labels{/name}","releases_url":"https://api.github.com/repos/42wim/matterbridge/releases{/id}","deployments_url":"https://api.github.com/repos/42wim/matterbridge/deployments","created_at":"2015-10-23T15:07:05Z","updated_at":"2019-07-14T17:53:13Z","pushed_at":"2019-07-14T20:24:53Z","git_url":"git://github.com/42wim/matterbridge.git","ssh_url":"git@github.com:42wim/matterbridge.git","clone_url":"https://github.com/42wim/matterbridge.git","svn_url":"https://github.com/42wim/matterbridge","homepage":"","size":12450,"stargazers_count":1764,"watchers_count":1764,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":182,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":97,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":182,"open_issues":97,"watchers":1764,"default_branch":"master"}},"base":{"label":"42wim:master","ref":"master","sha":"5551f9d56f2270c58738d3d43b3f4ef82507a3b9","user":{"login":"42wim","id":1810977,"node_id":"MDQ6VXNlcjE4MTA5Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/1810977?v=4","gravatar_id":"","url":"https://api.github.com/users/42wim","html_url":"https://github.com/42wim","followers_url":"https://api.github.com/users/42wim/followers","following_url":"https://api.github.com/users/42wim/following{/other_user}","gists_url":"https://api.github.com/users/42wim/gists{/gist_id}","starred_url":"https://api.github.com/users/42wim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/42wim/subscriptions","organizations_url":"https://api.github.com/users/42wim/orgs","repos_url":"https://api.github.com/users/42wim/repos","events_url":"https://api.github.com/users/42wim/events{/privacy}","received_events_url":"https://api.github.com/users/42wim/received_events","type":"User","site_admin":false},"repo":{"id":44820350,"node_id":"MDEwOlJlcG9zaXRvcnk0NDgyMDM1MA==","name":"matterbridge","full_name":"42wim/matterbridge","private":false,"owner":{"login":"42wim","id":1810977,"node_id":"MDQ6VXNlcjE4MTA5Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/1810977?v=4","gravatar_id":"","url":"https://api.github.com/users/42wim","html_url":"https://github.com/42wim","followers_url":"https://api.github.com/users/42wim/followers","following_url":"https://api.github.com/users/42wim/following{/other_user}","gists_url":"https://api.github.com/users/42wim/gists{/gist_id}","starred_url":"https://api.github.com/users/42wim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/42wim/subscriptions","organizations_url":"https://api.github.com/users/42wim/orgs","repos_url":"https://api.github.com/users/42wim/repos","events_url":"https://api.github.com/users/42wim/events{/privacy}","received_events_url":"https://api.github.com/users/42wim/received_events","type":"User","site_admin":false},"html_url":"https://github.com/42wim/matterbridge","description":"bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocket.chat, steam, twitch, ssh-chat, zulip, whatsapp and matrix with REST API (mattermost not required!)","fork":false,"url":"https://api.github.com/repos/42wim/matterbridge","forks_url":"https://api.github.com/repos/42wim/matterbridge/forks","keys_url":"https://api.github.com/repos/42wim/matterbridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/42wim/matterbridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/42wim/matterbridge/teams","hooks_url":"https://api.github.com/repos/42wim/matterbridge/hooks","issue_events_url":"https://api.github.com/repos/42wim/matterbridge/issues/events{/number}","events_url":"https://api.github.com/repos/42wim/matterbridge/events","assignees_url":"https://api.github.com/repos/42wim/matterbridge/assignees{/user}","branches_url":"https://api.github.com/repos/42wim/matterbridge/branches{/branch}","tags_url":"https://api.github.com/repos/42wim/matterbridge/tags","blobs_url":"https://api.github.com/repos/42wim/matterbridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/42wim/matterbridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/42wim/matterbridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/42wim/matterbridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/42wim/matterbridge/statuses/{sha}","languages_url":"https://api.github.com/repos/42wim/matterbridge/languages","stargazers_url":"https://api.github.com/repos/42wim/matterbridge/stargazers","contributors_url":"https://api.github.com/repos/42wim/matterbridge/contributors","subscribers_url":"https://api.github.com/repos/42wim/matterbridge/subscribers","subscription_url":"https://api.github.com/repos/42wim/matterbridge/subscription","commits_url":"https://api.github.com/repos/42wim/matterbridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/42wim/matterbridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/42wim/matterbridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/42wim/matterbridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/42wim/matterbridge/contents/{+path}","compare_url":"https://api.github.com/repos/42wim/matterbridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/42wim/matterbridge/merges","archive_url":"https://api.github.com/repos/42wim/matterbridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/42wim/matterbridge/downloads","issues_url":"https://api.github.com/repos/42wim/matterbridge/issues{/number}","pulls_url":"https://api.github.com/repos/42wim/matterbridge/pulls{/number}","milestones_url":"https://api.github.com/repos/42wim/matterbridge/milestones{/number}","notifications_url":"https://api.github.com/repos/42wim/matterbridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/42wim/matterbridge/labels{/name}","releases_url":"https://api.github.com/repos/42wim/matterbridge/releases{/id}","deployments_url":"https://api.github.com/repos/42wim/matterbridge/deployments","created_at":"2015-10-23T15:07:05Z","updated_at":"2019-07-14T17:53:13Z","pushed_at":"2019-07-14T20:24:53Z","git_url":"git://github.com/42wim/matterbridge.git","ssh_url":"git@github.com:42wim/matterbridge.git","clone_url":"https://github.com/42wim/matterbridge.git","svn_url":"https://github.com/42wim/matterbridge","homepage":"","size":12450,"stargazers_count":1764,"watchers_count":1764,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":182,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":97,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":182,"open_issues":97,"watchers":1764,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/42wim/matterbridge/pulls/863"},"html":{"href":"https://github.com/42wim/matterbridge/pull/863"},"issue":{"href":"https://api.github.com/repos/42wim/matterbridge/issues/863"},"comments":{"href":"https://api.github.com/repos/42wim/matterbridge/issues/863/comments"},"review_comments":{"href":"https://api.github.com/repos/42wim/matterbridge/pulls/863/comments"},"review_comment":{"href":"https://api.github.com/repos/42wim/matterbridge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/42wim/matterbridge/pulls/863/commits"},"statuses":{"href":"https://api.github.com/repos/42wim/matterbridge/statuses/67107da393c872f37d05d4c618de4d22082b772d"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":54,"deletions":23,"changed_files":3}}
other: {"actor":{"display_login":"42wim"}}