{"action":"created","issue":{"url":"https://api.github.com/repos/DSharpPlus/DSharpPlus/issues/299","repository_url":"https://api.github.com/repos/DSharpPlus/DSharpPlus","labels_url":"https://api.github.com/repos/DSharpPlus/DSharpPlus/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/DSharpPlus/DSharpPlus/issues/299/comments","events_url":"https://api.github.com/repos/DSharpPlus/DSharpPlus/issues/299/events","html_url":"https://github.com/DSharpPlus/DSharpPlus/issues/299","id":334241983,"node_id":"MDU6SXNzdWUzMzQyNDE5ODM=","number":299,"title":"DiscordRole.ModifyPositionAsync does not work","user":{"login":"jaxc83","id":39014675,"node_id":"MDQ6VXNlcjM5MDE0Njc1","avatar_url":"https://avatars2.githubusercontent.com/u/39014675?v=4","gravatar_id":"","url":"https://api.github.com/users/jaxc83","html_url":"https://github.com/jaxc83","followers_url":"https://api.github.com/users/jaxc83/followers","following_url":"https://api.github.com/users/jaxc83/following{/other_user}","gists_url":"https://api.github.com/users/jaxc83/gists{/gist_id}","starred_url":"https://api.github.com/users/jaxc83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaxc83/subscriptions","organizations_url":"https://api.github.com/users/jaxc83/orgs","repos_url":"https://api.github.com/users/jaxc83/repos","events_url":"https://api.github.com/users/jaxc83/events{/privacy}","received_events_url":"https://api.github.com/users/jaxc83/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-20T20:42:45Z","updated_at":"2018-06-20T22:23:36Z","closed_at":null,"author_association":"NONE","body":"# Summary\r\nThrows `NotFoundException`.\r\nAlso isn't reordering the roles properly.\r\n\r\n# Details\r\nThrows `NotFoundException` because it's passing the role ID as the first parameter to `ModifyGuildRolePosition` when it should be passing the guild ID, see here: https://github.com/DSharpPlus/DSharpPlus/blob/1b7176115ee5033508bf7b4c733e616bb582257a/DSharpPlus/Entities/DiscordRole.cs#L91\r\n###\r\nAt present the `RestGuildRoleReorderPayload` does not include the role trying to be reordered and it isn't reordering the other roles correctly."},"comment":{"url":"https://api.github.com/repos/DSharpPlus/DSharpPlus/issues/comments/398916807","html_url":"https://github.com/DSharpPlus/DSharpPlus/issues/299#issuecomment-398916807","issue_url":"https://api.github.com/repos/DSharpPlus/DSharpPlus/issues/299","id":398916807,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODkxNjgwNw==","user":{"login":"uwx","id":13633343,"node_id":"MDQ6VXNlcjEzNjMzMzQz","avatar_url":"https://avatars0.githubusercontent.com/u/13633343?v=4","gravatar_id":"","url":"https://api.github.com/users/uwx","html_url":"https://github.com/uwx","followers_url":"https://api.github.com/users/uwx/followers","following_url":"https://api.github.com/users/uwx/following{/other_user}","gists_url":"https://api.github.com/users/uwx/gists{/gist_id}","starred_url":"https://api.github.com/users/uwx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uwx/subscriptions","organizations_url":"https://api.github.com/users/uwx/orgs","repos_url":"https://api.github.com/users/uwx/repos","events_url":"https://api.github.com/users/uwx/events{/privacy}","received_events_url":"https://api.github.com/users/uwx/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T22:23:36Z","updated_at":"2018-06-20T22:23:36Z","author_association":"CONTRIBUTOR","body":"The role IDs are included in the RestGuildRoleReorderPayload fields. However the reference to `this.Id` does appear to be incorrect."}}
{"actor":{"display_login":"uwx"}}