{"action":"opened","issue":{"url":"https://api.github.com/repos/Darkhogg/werebot/issues/5","labels_url":"https://api.github.com/repos/Darkhogg/werebot/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Darkhogg/werebot/issues/5/comments","events_url":"https://api.github.com/repos/Darkhogg/werebot/issues/5/events","html_url":"https://github.com/Darkhogg/werebot/issues/5","id":77132172,"number":5,"title":"Feature: The Sheriff","user":{"login":"Darkhogg","id":237337,"avatar_url":"https://avatars.githubusercontent.com/u/237337?v=3","gravatar_id":"","url":"https://api.github.com/users/Darkhogg","html_url":"https://github.com/Darkhogg","followers_url":"https://api.github.com/users/Darkhogg/followers","following_url":"https://api.github.com/users/Darkhogg/following{/other_user}","gists_url":"https://api.github.com/users/Darkhogg/gists{/gist_id}","starred_url":"https://api.github.com/users/Darkhogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darkhogg/subscriptions","organizations_url":"https://api.github.com/users/Darkhogg/orgs","repos_url":"https://api.github.com/users/Darkhogg/repos","events_url":"https://api.github.com/users/Darkhogg/events{/privacy}","received_events_url":"https://api.github.com/users/Darkhogg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Darkhogg/werebot/labels/feature","name":"feature","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-16T21:04:51Z","updated_at":"2015-05-16T21:04:51Z","closed_at":null,"body":"The sheriff is not a character but a role. The sheriff is elected by all citizens during the preparation round in a democratic manner. Whenever the town votes to lynch, if the vote ends in a tie, the Sheriff can decide who is lynched, if anyone. If the sheriff dies during the day, a successor might be chosen.\r\n\r\n---\r\n\r\n+ During the preparation phase, all citizens must be able to issue **!elect _nick_** to vote to elect a given user. If the vote ends in a tie, no Sheriff is elected and ties will result in no lynching at all.\r\n+ During daytime, if a tie is reached, the sheriff must be able to issue **!decide _nick_**. The Sheriff must be able decide that no one must be lynched by issuing **!decide** with no argument.\r\n+ Whenever the death of the Sheriff is imminent, a round extension is given so that he can design a successor using **!succeed _nick_**. If a successor is not given in time, one is chosen randomly. The successor will be announced at the same time as the Sheriff's death.\r\n"}}