Created
April 28, 2016 19:33
-
-
Save LunaCodeGirl/a1c18981ffd81dd12c26bb6b822e29b7 to your computer and use it in GitHub Desktop.
Revisions
-
LunaCodeGirl created this gist
Apr 28, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,47 @@ var message_with_attachments = { "channel": channel, "text": '*How are you feeling ?*', "attachments": [ { "fallback": "Sigmend want's to know your mood! Open Slack to respond.", "text": "Click on the reaction that best matches your mood.\n", "mrkdwn_in": ["text"] }, { "fields": [ { "value": "π - I'm great!", "short": true } ], "color": "#96E5B1" }, { "fields": [ { "value": "π - I'm ok, could be better, could be worse.", "short": false } ], "color": "#F8F989" }, { "fields": [ { "value": "π© - I've had better days...", "short": false } ], "color": "#212121" }, { "fields": [ { "value": "π‘ - I'm not ok, I have a problem.", "short": false } ], "color": "#E9113A" } ] };