!752 static S token; static S channelID = "C0FH9PY8J"; // #talkingbots static S text = "Bot test"; static S username = "botstuff"; p { token = loadSecretTextFileMandatory("relp-slack-botstuff-token").trim(); S url = "https://slack.com/api/chat.postMessage"; S postData = "token=" + urlencode(token) + "&channel=" + urlencode(channelID) + "&text=" + urlencode(text) + "&username=" + urlencode(username); S data = doPost(postData, url); print(data); }