{"action":"opened","issue":{"url":"https://api.github.com/repos/j0k3r/worldcup-slack-bot/issues/8","repository_url":"https://api.github.com/repos/j0k3r/worldcup-slack-bot","labels_url":"https://api.github.com/repos/j0k3r/worldcup-slack-bot/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/j0k3r/worldcup-slack-bot/issues/8/comments","events_url":"https://api.github.com/repos/j0k3r/worldcup-slack-bot/issues/8/events","html_url":"https://github.com/j0k3r/worldcup-slack-bot/issues/8","id":333990025,"node_id":"MDU6SXNzdWUzMzM5OTAwMjU=","number":8,"title":"Straight red card type number","user":{"login":"oltodo","id":483842,"node_id":"MDQ6VXNlcjQ4Mzg0Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/483842?v=4","gravatar_id":"","url":"https://api.github.com/users/oltodo","html_url":"https://github.com/oltodo","followers_url":"https://api.github.com/users/oltodo/followers","following_url":"https://api.github.com/users/oltodo/following{/other_user}","gists_url":"https://api.github.com/users/oltodo/gists{/gist_id}","starred_url":"https://api.github.com/users/oltodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oltodo/subscriptions","organizations_url":"https://api.github.com/users/oltodo/orgs","repos_url":"https://api.github.com/users/oltodo/repos","events_url":"https://api.github.com/users/oltodo/events{/privacy}","received_events_url":"https://api.github.com/users/oltodo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-20T09:13:58Z","updated_at":"2018-06-20T09:13:58Z","closed_at":null,"author_association":"NONE","body":"According the previous Colombia/Japan match, it seems the type number for the straight red card is 3 but not 4 like the following defines.\r\n\r\nhttps://github.com/j0k3r/worldcup-slack-bot/blob/c23aa06dc65ab3a8d3873326253c9ccf0d1774eb/worldCupNotifier.php#L88\r\n\r\nRefer to the match's event :\r\n\r\nhttps://api.fifa.com/api/v1/timelines/17/254645/275073/300331550?language=fr-FR&count=1\r\n\r\n```json\r\n{\r\n  \"EventId\": \"-1011232931\",\r\n  \"IdTeam\": \"43926\",\r\n  \"IdPlayer\": \"280487\",\r\n  \"IdSubPlayer\": null,\r\n  \"Timestamp\": \"2018-06-19T12:03:58.871Z\",\r\n  \"MatchMinute\": \"3'\",\r\n  \"Period\": 3,\r\n  \"HomeGoals\": 0,\r\n  \"AwayGoals\": 0,\r\n  \"Type\": 3,\r\n  \"TypeLocalized\": [],\r\n  \"PositionX\": null,\r\n  \"PositionY\": null,\r\n  \"GoalGatePositionX\": null,\r\n  \"GoalGatePositionY\": null,\r\n  \"GoalGatePositionZ\": null,\r\n  \"VarDetail\": null,\r\n  \"HomePenaltyGoals\": 0,\r\n  \"AwayPenaltyGoals\": 0\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"oltodo"}}