Created
February 19, 2016 22:46
-
-
Save TristanAmond/67c3b96e02e8ef561af2 to your computer and use it in GitHub Desktop.
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
<script> | |
function POSTwater() { | |
var bot = "BOTID"; | |
var msg = "water"; | |
jQuery.post("https://api.groupme.com/v3/bots/post", {bot_id: bot, text:msg}); //closes post | |
alert("POST sent."); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment