{"action":"opened","issue":{"url":"https://api.github.com/repos/Notulp/Fougerite/issues/62","labels_url":"https://api.github.com/repos/Notulp/Fougerite/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/Notulp/Fougerite/issues/62/comments","events_url":"https://api.github.com/repos/Notulp/Fougerite/issues/62/events","html_url":"https://github.com/Notulp/Fougerite/issues/62","id":77739416,"number":62,"title":"OnPreCommand event","user":{"login":"SnakeTheRipper","id":8410877,"avatar_url":"https://avatars.githubusercontent.com/u/8410877?v=3","gravatar_id":"","url":"https://api.github.com/users/SnakeTheRipper","html_url":"https://github.com/SnakeTheRipper","followers_url":"https://api.github.com/users/SnakeTheRipper/followers","following_url":"https://api.github.com/users/SnakeTheRipper/following{/other_user}","gists_url":"https://api.github.com/users/SnakeTheRipper/gists{/gist_id}","starred_url":"https://api.github.com/users/SnakeTheRipper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SnakeTheRipper/subscriptions","organizations_url":"https://api.github.com/users/SnakeTheRipper/orgs","repos_url":"https://api.github.com/users/SnakeTheRipper/repos","events_url":"https://api.github.com/users/SnakeTheRipper/events{/privacy}","received_events_url":"https://api.github.com/users/SnakeTheRipper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-18T17:36:59Z","updated_at":"2015-05-18T17:36:59Z","closed_at":null,"body":"This event should be fired before OnCommand events. It should allow cancelling the OnCommand event.\r\n\r\nIt's usefull when you want some commands to be restricted.\r\n\r\nFor example :\r\n\r\nIn a hunger games event, you shouldn't be able to teleport. OnPreCommand would check the command and cancel it."}}