{"action":"created","issue":{"url":"https://api.github.com/repos/Twentysix26/Red-DiscordBot/issues/407","repository_url":"https://api.github.com/repos/Twentysix26/Red-DiscordBot","labels_url":"https://api.github.com/repos/Twentysix26/Red-DiscordBot/issues/407/labels{/name}","comments_url":"https://api.github.com/repos/Twentysix26/Red-DiscordBot/issues/407/comments","events_url":"https://api.github.com/repos/Twentysix26/Red-DiscordBot/issues/407/events","html_url":"https://github.com/Twentysix26/Red-DiscordBot/pull/407","id":181801809,"number":407,"title":"Final Version of Red Supervisor","user":{"login":"ccubed","id":67614,"avatar_url":"https://avatars.githubusercontent.com/u/67614?v=3","gravatar_id":"","url":"https://api.github.com/users/ccubed","html_url":"https://github.com/ccubed","followers_url":"https://api.github.com/users/ccubed/followers","following_url":"https://api.github.com/users/ccubed/following{/other_user}","gists_url":"https://api.github.com/users/ccubed/gists{/gist_id}","starred_url":"https://api.github.com/users/ccubed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccubed/subscriptions","organizations_url":"https://api.github.com/users/ccubed/orgs","repos_url":"https://api.github.com/users/ccubed/repos","events_url":"https://api.github.com/users/ccubed/events{/privacy}","received_events_url":"https://api.github.com/users/ccubed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-08T03:34:54Z","updated_at":"2016-11-27T17:51:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Twentysix26/Red-DiscordBot/pulls/407","html_url":"https://github.com/Twentysix26/Red-DiscordBot/pull/407","diff_url":"https://github.com/Twentysix26/Red-DiscordBot/pull/407.diff","patch_url":"https://github.com/Twentysix26/Red-DiscordBot/pull/407.patch"},"body":"Twentysix told me people wanted a built in process manager that would restart redbot automatically, I told him that could be done no problem. Thus was the Red Supervisor born. Behold, for it arrives. This uses absolutely 0 external imports, so it will work for anyone with python 3.5+.\n\nFeatures:\n1. Automatically check for git in path, don't start if it's not there\n2. Automatically check for ffmpeg in path. On windows we'll download this automatically. 64 bit we have predefined links in this repo, on 32 bit it depends on being able to parse out the link on the ffmpeg builds page.\n3. Automatically git pull before starting redbot, so you're always up to date.\n4. It does not update discord.py, because that can cause more issues than good if automated.\n5. It will automatically start and restart redbot as long as the return code is not 0. 0 indicates a normal return (IE: you used shutdown in discord), so it's assumed that you actually want redbot to die in that case.\n6. You can kill this supervisor without killing redbot. They're separate entities entirely, though the error output from redbot will show up here. That can be changed if we want: It could go to a file for instance, or even just stay within redbot.\n7. Tested extensively on Linux and tested a little bit on windows. Seems to work pretty well. Though I could do with some more windows testing that I'll do tomorrow. I'm confident enough to release the PR.\n"},"comment":{"url":"https://api.github.com/repos/Twentysix26/Red-DiscordBot/issues/comments/263136138","html_url":"https://github.com/Twentysix26/Red-DiscordBot/pull/407#issuecomment-263136138","issue_url":"https://api.github.com/repos/Twentysix26/Red-DiscordBot/issues/407","id":263136138,"user":{"login":"Jan200101","id":15076013,"avatar_url":"https://avatars.githubusercontent.com/u/15076013?v=3","gravatar_id":"","url":"https://api.github.com/users/Jan200101","html_url":"https://github.com/Jan200101","followers_url":"https://api.github.com/users/Jan200101/followers","following_url":"https://api.github.com/users/Jan200101/following{/other_user}","gists_url":"https://api.github.com/users/Jan200101/gists{/gist_id}","starred_url":"https://api.github.com/users/Jan200101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jan200101/subscriptions","organizations_url":"https://api.github.com/users/Jan200101/orgs","repos_url":"https://api.github.com/users/Jan200101/repos","events_url":"https://api.github.com/users/Jan200101/events{/privacy}","received_events_url":"https://api.github.com/users/Jan200101/received_events","type":"User","site_admin":false},"created_at":"2016-11-27T17:51:06Z","updated_at":"2016-11-27T17:51:06Z","body":"So it is then.\r\nSome os even tell the user that ffmpeg is deprecate and to use avconv but it is your choice\r\n\r\n> *** THIS PROGRAM IS DEPRECATED ***\r\n>This program is only provided for compatibility and will be removed in a future release. Please use avconv > instead.\r\n\r\nThere is no reason to stop using avconv as some devices just run better with it"}}
{"actor":{"display_login":"Jan200101"}}