{"action":"opened","issue":{"url":"https://api.github.com/repos/Vhoyon/Discord-Bot/issues/124","repository_url":"https://api.github.com/repos/Vhoyon/Discord-Bot","labels_url":"https://api.github.com/repos/Vhoyon/Discord-Bot/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/Vhoyon/Discord-Bot/issues/124/comments","events_url":"https://api.github.com/repos/Vhoyon/Discord-Bot/issues/124/events","html_url":"https://github.com/Vhoyon/Discord-Bot/issues/124","id":345758363,"node_id":"MDU6SXNzdWUzNDU3NTgzNjM=","number":124,"title":"Add a ReactBuilder to allow for multiple choices questions to be answered easily with reactions","user":{"login":"V-ed","id":16652915,"node_id":"MDQ6VXNlcjE2NjUyOTE1","avatar_url":"https://avatars3.githubusercontent.com/u/16652915?v=4","gravatar_id":"","url":"https://api.github.com/users/V-ed","html_url":"https://github.com/V-ed","followers_url":"https://api.github.com/users/V-ed/followers","following_url":"https://api.github.com/users/V-ed/following{/other_user}","gists_url":"https://api.github.com/users/V-ed/gists{/gist_id}","starred_url":"https://api.github.com/users/V-ed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/V-ed/subscriptions","organizations_url":"https://api.github.com/users/V-ed/orgs","repos_url":"https://api.github.com/users/V-ed/repos","events_url":"https://api.github.com/users/V-ed/events{/privacy}","received_events_url":"https://api.github.com/users/V-ed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-30T13:29:44Z","updated_at":"2018-07-30T13:29:44Z","closed_at":null,"author_association":"COLLABORATOR","body":"This is after the support from #30 will be added.\r\n\r\nThe example is the same :\r\n![example](https://user-images.githubusercontent.com/16652915/38787111-21fa0a8c-40fa-11e8-9ce5-d4408ee9f0f4.png)\r\n\r\n---\r\n\r\n> copied from https://github.com/Vhoyon/Discord-Bot/issues/30#issuecomment-408855294\r\n\r\n- [ ] *TODO* :\r\n\r\nTrack the message ID of the form in the buffer for the TextChannel and the available options.\r\n\r\nA `ReactOption` object could be created to track what option is what and what has been selected. This could be part of a `ReactMessage` where the id of the message would be stored (the first line of this comment).\r\n\r\nI imagine something like this :\r\n```java\r\npublic class ReactMessage {\r\n\t\r\n\tpublic ReactMessage(String messageId, ReactOption... options){\r\n\t\t[...]\r\n\t}\r\n\t\r\n}\r\n```\r\n\r\nand this for the `ReactOption` :\r\n```java\r\npublic class ReactOption {\r\n\t\r\n\tpublic ReactOption(String emoji, int countBeforeChosen){\r\n\t\t[...]\r\n\t}\r\n\t\r\n}\r\n```"}}
{"actor":{"display_login":"V-ed"}}