{"action":"created","issue":{"url":"https://api.github.com/repos/cuducos/my-internet-speed/issues/7","repository_url":"https://api.github.com/repos/cuducos/my-internet-speed","labels_url":"https://api.github.com/repos/cuducos/my-internet-speed/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/cuducos/my-internet-speed/issues/7/comments","events_url":"https://api.github.com/repos/cuducos/my-internet-speed/issues/7/events","html_url":"https://github.com/cuducos/my-internet-speed/issues/7","id":326772857,"number":7,"title":"Speed lower than 10%","user":{"login":"nicolastarzia","id":846877,"avatar_url":"https://avatars3.githubusercontent.com/u/846877?v=4","gravatar_id":"","url":"https://api.github.com/users/nicolastarzia","html_url":"https://github.com/nicolastarzia","followers_url":"https://api.github.com/users/nicolastarzia/followers","following_url":"https://api.github.com/users/nicolastarzia/following{/other_user}","gists_url":"https://api.github.com/users/nicolastarzia/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolastarzia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolastarzia/subscriptions","organizations_url":"https://api.github.com/users/nicolastarzia/orgs","repos_url":"https://api.github.com/users/nicolastarzia/repos","events_url":"https://api.github.com/users/nicolastarzia/events{/privacy}","received_events_url":"https://api.github.com/users/nicolastarzia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-26T22:53:41Z","updated_at":"2018-05-27T15:27:15Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Sometimes my speed is lower than 10% that I contract.\r\n\r\nIt will be nice if the speed lower than 10% that user contract, send an twitter to @anatel.\r\n\r\n\r\nJust for information:  😭 \r\nhttps://twitter.com/NicolastarziaN/status/1000489073755213825\r\n"},"comment":{"url":"https://api.github.com/repos/cuducos/my-internet-speed/issues/comments/392339467","html_url":"https://github.com/cuducos/my-internet-speed/issues/7#issuecomment-392339467","issue_url":"https://api.github.com/repos/cuducos/my-internet-speed/issues/7","id":392339467,"user":{"login":"nicolastarzia","id":846877,"avatar_url":"https://avatars3.githubusercontent.com/u/846877?v=4","gravatar_id":"","url":"https://api.github.com/users/nicolastarzia","html_url":"https://github.com/nicolastarzia","followers_url":"https://api.github.com/users/nicolastarzia/followers","following_url":"https://api.github.com/users/nicolastarzia/following{/other_user}","gists_url":"https://api.github.com/users/nicolastarzia/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolastarzia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolastarzia/subscriptions","organizations_url":"https://api.github.com/users/nicolastarzia/orgs","repos_url":"https://api.github.com/users/nicolastarzia/repos","events_url":"https://api.github.com/users/nicolastarzia/events{/privacy}","received_events_url":"https://api.github.com/users/nicolastarzia/received_events","type":"User","site_admin":false},"created_at":"2018-05-27T15:27:15Z","updated_at":"2018-05-27T15:27:15Z","author_association":"CONTRIBUTOR","body":"Perfect, and I agree with you, it's wrong if include ANATEL in the logic.\r\n\r\nTo solve this \"problem\" what do you think if we change the MINIMUM_SPEED and TWEET to a list of key/value (I think in python it's tuples)?\r\nSo we can configure N messages according the speed, turning this robot a little bit more dynamic.\r\n\r\n## Test case\r\n\r\n\r\n\r\nConfig Scenario:\r\n\r\nConfig minimum speed (thresold) | Message\r\n------------ | -------------\r\n10 | My internet is terrible, only {real_speed}. I contract {contract_speed}, what do you think @MyISP?\r\n40 |  Hey @MyISP, I think that something wrong with my internet, I'm working with {real_speed}, but pay for {contract_speed}, merely {percentage}\r\n\r\nTest:\r\nContract_speed = 100\r\n\r\nReal Speed | Twitter Message\r\n----------- | --------------\r\n50 | No message\r\n35 | Hey @MyISP, I think that something wrong with my internet, I'm working with 35Mbps, but pay for 100Mbps, merely 35%\r\n20 | Hey @MyISP, I think that something wrong with my internet, I'm working with 20Mbps, but pay for 100Mbps, merely 20%\r\n5 | My internet is terrible, only 5Mbps. I contract 120Mbps, what do you think @MyISP?\r\n\r\n\r\n"}}
{"actor":{"display_login":"nicolastarzia"}}