Skip to content

Instantly share code, notes, and snippets.

<script>
$(document).ready(function () {
var url = "https://hooks.slack.com/services/T------------/B------------/------------------------";
var payload = {
"attachments":[
{
"fallback":"New open task [Urgent]: <http://url_to_task|Test out Slack message attachments>",
"pretext":"New open task [Urgent]: <http://url_to_task|Test out Slack message attachments>",
"color":"#D00000",
"fields":[
<script>
$(document).ready(function () {
var url = 'https://hooks.slack.com/services/T-------/B-------/---------------------';
var payload = {
'attachments': [
{
'fallback': '휴먼사다리',
'color': '#36a64f',
'pretext': '이런!! 오늘은 ' + hero + '의 날입니다.',
'author_name': '휴먼사다리',