{"action":"created","issue":{"url":"https://api.github.com/repos/loomio/loomio/issues/2585","labels_url":"https://api.github.com/repos/loomio/loomio/issues/2585/labels{/name}","comments_url":"https://api.github.com/repos/loomio/loomio/issues/2585/comments","events_url":"https://api.github.com/repos/loomio/loomio/issues/2585/events","html_url":"https://github.com/loomio/loomio/pull/2585","id":111245640,"number":2585,"title":"Add slack webhook for new_vote","user":{"login":"juliagra","id":12245008,"avatar_url":"https://avatars.githubusercontent.com/u/12245008?v=3","gravatar_id":"","url":"https://api.github.com/users/juliagra","html_url":"https://github.com/juliagra","followers_url":"https://api.github.com/users/juliagra/followers","following_url":"https://api.github.com/users/juliagra/following{/other_user}","gists_url":"https://api.github.com/users/juliagra/gists{/gist_id}","starred_url":"https://api.github.com/users/juliagra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliagra/subscriptions","organizations_url":"https://api.github.com/users/juliagra/orgs","repos_url":"https://api.github.com/users/juliagra/repos","events_url":"https://api.github.com/users/juliagra/events{/privacy}","received_events_url":"https://api.github.com/users/juliagra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-13T18:54:54Z","updated_at":"2015-10-14T02:12:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/loomio/loomio/pulls/2585","html_url":"https://github.com/loomio/loomio/pull/2585","diff_url":"https://github.com/loomio/loomio/pull/2585.diff","patch_url":"https://github.com/loomio/loomio/pull/2585.patch"},"body":"Creating pull request for feedback on this code, thank you! \r\n\r\nAdded a webhook to notify slack of new vote events.\r\nAdded test for new webhook. \r\nCorrected small syntax error in webhook_spec\r\n\r\n@gdpelican \r\n"},"comment":{"url":"https://api.github.com/repos/loomio/loomio/issues/comments/147904364","html_url":"https://github.com/loomio/loomio/pull/2585#issuecomment-147904364","issue_url":"https://api.github.com/repos/loomio/loomio/issues/2585","id":147904364,"user":{"login":"juliagra","id":12245008,"avatar_url":"https://avatars.githubusercontent.com/u/12245008?v=3","gravatar_id":"","url":"https://api.github.com/users/juliagra","html_url":"https://github.com/juliagra","followers_url":"https://api.github.com/users/juliagra/followers","following_url":"https://api.github.com/users/juliagra/following{/other_user}","gists_url":"https://api.github.com/users/juliagra/gists{/gist_id}","starred_url":"https://api.github.com/users/juliagra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliagra/subscriptions","organizations_url":"https://api.github.com/users/juliagra/orgs","repos_url":"https://api.github.com/users/juliagra/repos","events_url":"https://api.github.com/users/juliagra/events{/privacy}","received_events_url":"https://api.github.com/users/juliagra/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T02:12:39Z","updated_at":"2015-10-14T02:12:39Z","body":"Hi @rdbartlett, we couldn't get a margin to display, so we changed the notification colors depending on what type of message it is. Regular motions activity gets the Loomio orange. Votes get the color of the decision they are associated with--green for yes, red for block, etc. :smiley: \r\n\r\n![screen shot 2015-10-13 at 7 12 08 pm](https://cloud.githubusercontent.com/assets/12245008/10473229/e1f33866-71dd-11e5-9e8c-6dbbd3e4cc9f.png)\r\n"}}