{"action":"closed","issue":{"url":"https://api.github.com/repos/YilianSource/brackeys-bot/issues/22","repository_url":"https://api.github.com/repos/YilianSource/brackeys-bot","labels_url":"https://api.github.com/repos/YilianSource/brackeys-bot/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/YilianSource/brackeys-bot/issues/22/comments","events_url":"https://api.github.com/repos/YilianSource/brackeys-bot/issues/22/events","html_url":"https://github.com/YilianSource/brackeys-bot/issues/22","id":351860396,"node_id":"MDU6SXNzdWUzNTE4NjAzOTY=","number":22,"title":"User extension methods","user":{"login":"AquaXV","id":1627290,"node_id":"MDQ6VXNlcjE2MjcyOTA=","avatar_url":"https://avatars2.githubusercontent.com/u/1627290?v=4","gravatar_id":"","url":"https://api.github.com/users/AquaXV","html_url":"https://github.com/AquaXV","followers_url":"https://api.github.com/users/AquaXV/followers","following_url":"https://api.github.com/users/AquaXV/following{/other_user}","gists_url":"https://api.github.com/users/AquaXV/gists{/gist_id}","starred_url":"https://api.github.com/users/AquaXV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AquaXV/subscriptions","organizations_url":"https://api.github.com/users/AquaXV/orgs","repos_url":"https://api.github.com/users/AquaXV/repos","events_url":"https://api.github.com/users/AquaXV/events{/privacy}","received_events_url":"https://api.github.com/users/AquaXV/received_events","type":"User","site_admin":false},"labels":[{"id":1026460072,"node_id":"MDU6TGFiZWwxMDI2NDYwMDcy","url":"https://api.github.com/repos/YilianSource/brackeys-bot/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":{"login":"YilianSource","id":41469451,"node_id":"MDQ6VXNlcjQxNDY5NDUx","avatar_url":"https://avatars0.githubusercontent.com/u/41469451?v=4","gravatar_id":"","url":"https://api.github.com/users/YilianSource","html_url":"https://github.com/YilianSource","followers_url":"https://api.github.com/users/YilianSource/followers","following_url":"https://api.github.com/users/YilianSource/following{/other_user}","gists_url":"https://api.github.com/users/YilianSource/gists{/gist_id}","starred_url":"https://api.github.com/users/YilianSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YilianSource/subscriptions","organizations_url":"https://api.github.com/users/YilianSource/orgs","repos_url":"https://api.github.com/users/YilianSource/repos","events_url":"https://api.github.com/users/YilianSource/events{/privacy}","received_events_url":"https://api.github.com/users/YilianSource/received_events","type":"User","site_admin":false},"assignees":[{"login":"YilianSource","id":41469451,"node_id":"MDQ6VXNlcjQxNDY5NDUx","avatar_url":"https://avatars0.githubusercontent.com/u/41469451?v=4","gravatar_id":"","url":"https://api.github.com/users/YilianSource","html_url":"https://github.com/YilianSource","followers_url":"https://api.github.com/users/YilianSource/followers","following_url":"https://api.github.com/users/YilianSource/following{/other_user}","gists_url":"https://api.github.com/users/YilianSource/gists{/gist_id}","starred_url":"https://api.github.com/users/YilianSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YilianSource/subscriptions","organizations_url":"https://api.github.com/users/YilianSource/orgs","repos_url":"https://api.github.com/users/YilianSource/repos","events_url":"https://api.github.com/users/YilianSource/events{/privacy}","received_events_url":"https://api.github.com/users/YilianSource/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/YilianSource/brackeys-bot/milestones/3","html_url":"https://github.com/YilianSource/brackeys-bot/milestone/3","labels_url":"https://api.github.com/repos/YilianSource/brackeys-bot/milestones/3/labels","id":3580651,"node_id":"MDk6TWlsZXN0b25lMzU4MDY1MQ==","number":3,"title":"2.0","description":null,"creator":{"login":"YilianSource","id":41469451,"node_id":"MDQ6VXNlcjQxNDY5NDUx","avatar_url":"https://avatars0.githubusercontent.com/u/41469451?v=4","gravatar_id":"","url":"https://api.github.com/users/YilianSource","html_url":"https://github.com/YilianSource","followers_url":"https://api.github.com/users/YilianSource/followers","following_url":"https://api.github.com/users/YilianSource/following{/other_user}","gists_url":"https://api.github.com/users/YilianSource/gists{/gist_id}","starred_url":"https://api.github.com/users/YilianSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YilianSource/subscriptions","organizations_url":"https://api.github.com/users/YilianSource/orgs","repos_url":"https://api.github.com/users/YilianSource/repos","events_url":"https://api.github.com/users/YilianSource/events{/privacy}","received_events_url":"https://api.github.com/users/YilianSource/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":7,"state":"open","created_at":"2018-08-18T13:58:33Z","updated_at":"2018-08-19T10:32:32Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-08-18T23:43:01Z","updated_at":"2018-08-19T10:32:32Z","closed_at":"2018-08-19T10:32:32Z","author_association":"NONE","body":"[https://github.com/YilianSource/brackeys-bot/blob/master/Commands/UserHelper.cs#10](url), [https://github.com/YilianSource/brackeys-bot/blob/master/Commands/StaffCommandHelper.cs#L16](url), and [https://github.com/YilianSource/brackeys-bot/blob/master/Commands/StaffCommandHelper.cs#L27](url) can be extensions methods for User. \r\n\r\nAdditionally the 'HasStaffRole' method should be replaced with 'HasRole' accepting an additional string parameter of the role to test for future features addition in case of the necessity. Optionally a 'HasStaffRole' can be added to call 'HasRole' with predefined parameters."}}
{"actor":{"display_login":"YilianSource"}}