Last active
January 13, 2017 09:09
-
-
Save anandpathak/2ad26a9b90f17d21bcd1 to your computer and use it in GitHub Desktop.
Slack auto message sender from browser
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
values1 = ["Hi!" , "How are you ? " , "fine " , "do you know, who I am ? " , "A bot ! :)"] | |
function dothis(i){ | |
setTimeout(function(){ | |
document.getElementById("msg_input").value= values1[i]; | |
TS.view.submit() | |
}, | |
i*6000);} | |
for(i=0;i<values1.length;i++) | |
dothis(i); | |
//open your slack channel in browser and paste the code in the console :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment