{"action":"created","issue":{"url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/2278","repository_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot","labels_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/2278/labels{/name}","comments_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/2278/comments","events_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/2278/events","html_url":"https://github.com/Cog-Creators/Red-DiscordBot/pull/2278","id":375611123,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3MDE2OTU2","number":2278,"title":"Fix for modset reinvite","user":{"login":"Kowlin","id":10947836,"node_id":"MDQ6VXNlcjEwOTQ3ODM2","avatar_url":"https://avatars1.githubusercontent.com/u/10947836?v=4","gravatar_id":"","url":"https://api.github.com/users/Kowlin","html_url":"https://github.com/Kowlin","followers_url":"https://api.github.com/users/Kowlin/followers","following_url":"https://api.github.com/users/Kowlin/following{/other_user}","gists_url":"https://api.github.com/users/Kowlin/gists{/gist_id}","starred_url":"https://api.github.com/users/Kowlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kowlin/subscriptions","organizations_url":"https://api.github.com/users/Kowlin/orgs","repos_url":"https://api.github.com/users/Kowlin/repos","events_url":"https://api.github.com/users/Kowlin/events{/privacy}","received_events_url":"https://api.github.com/users/Kowlin/received_events","type":"User","site_admin":false},"labels":[{"id":1022554516,"node_id":"MDU6TGFiZWwxMDIyNTU0NTE2","url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/labels/QA:%20Unassigned","name":"QA: Unassigned","color":"fcc900","default":false},{"id":1022565515,"node_id":"MDU6TGFiZWwxMDIyNTY1NTE1","url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/labels/Type:%20Fix","name":"Type: Fix","color":"84b6eb","default":false},{"id":593836458,"node_id":"MDU6TGFiZWw1OTM4MzY0NTg=","url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/labels/V3","name":"V3","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-30T17:36:19Z","updated_at":"2018-10-30T17:48:57Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/pulls/2278","html_url":"https://github.com/Cog-Creators/Red-DiscordBot/pull/2278","diff_url":"https://github.com/Cog-Creators/Red-DiscordBot/pull/2278.diff","patch_url":"https://github.com/Cog-Creators/Red-DiscordBot/pull/2278.patch"},"body":"Code fix by @aikaterna, added as an co-author\r\n\r\n### Type\r\n\r\n- [x] Bugfix\r\n### Description of the changes\r\n\r\nThis PR fixes an issue with ``modset reinvite`` not functioning. Traceback for old error below.\r\n\r\n```\r\nException in command 'modset reinvite'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.6/dist-packages/discord/ext/commands/core.py\", line 61, in wrapped\r\n    ret = await coro(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/dist-packages/redbot/cogs/mod/mod.py\", line 320, in reinvite\r\n    f\"{ctx.prefix}unban\"\r\nKeyError: 'command'\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.6/dist-packages/discord/ext/commands/bot.py\", line 898, in invoke\r\n    await ctx.command.invoke(ctx)\r\n  File \"/usr/local/lib/python3.6/dist-packages/redbot/core/commands/commands.py\", line 409, in invoke\r\n    await super().invoke(ctx)\r\n  File \"/usr/local/lib/python3.6/dist-packages/discord/ext/commands/core.py\", line 1024, in invoke\r\n    await ctx.invoked_subcommand.invoke(ctx)\r\n  File \"/usr/local/lib/python3.6/dist-packages/discord/ext/commands/core.py\", line 614, in invoke\r\n    await injected(*ctx.args, **ctx.kwargs)\r\n  File \"/usr/local/lib/python3.6/dist-packages/discord/ext/commands/core.py\", line 70, in wrapped\r\n    raise CommandInvokeError(e) from e\r\ndiscord.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError: 'command'\r\n```"},"comment":{"url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/comments/434403299","html_url":"https://github.com/Cog-Creators/Red-DiscordBot/pull/2278#issuecomment-434403299","issue_url":"https://api.github.com/repos/Cog-Creators/Red-DiscordBot/issues/2278","id":434403299,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDQwMzI5OQ==","user":{"login":"Kowlin","id":10947836,"node_id":"MDQ6VXNlcjEwOTQ3ODM2","avatar_url":"https://avatars1.githubusercontent.com/u/10947836?v=4","gravatar_id":"","url":"https://api.github.com/users/Kowlin","html_url":"https://github.com/Kowlin","followers_url":"https://api.github.com/users/Kowlin/followers","following_url":"https://api.github.com/users/Kowlin/following{/other_user}","gists_url":"https://api.github.com/users/Kowlin/gists{/gist_id}","starred_url":"https://api.github.com/users/Kowlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kowlin/subscriptions","organizations_url":"https://api.github.com/users/Kowlin/orgs","repos_url":"https://api.github.com/users/Kowlin/repos","events_url":"https://api.github.com/users/Kowlin/events{/privacy}","received_events_url":"https://api.github.com/users/Kowlin/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T17:48:57Z","updated_at":"2018-10-30T17:48:57Z","author_association":"MEMBER","body":"Darn, you're right. Will move the branch over and hope it doesn't break stuff."}}
{"actor":{"display_login":"Kowlin"}}