Last active
October 17, 2016 13:52
-
-
Save tomrandle/40b8477ecab3e3a52d5e17247fd517da to your computer and use it in GitHub Desktop.
openlunch
This file contains 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 characters
function openLunch() { | |
var restaurant = sheet.getRange("B1").getValues()[0][0]; | |
var deadline = sheet.getRange("B2").getValues()[0][0]; | |
triggerSlackRequest("main", "@london: FRIDAY LUNCH: *"+ restaurant +"*. Please order by *"+ deadline +"*. Cheers.\n"+ sheetURL); | |
createTimeTriggers(2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment