Skip to content

Instantly share code, notes, and snippets.

@geerlingguy
Created November 13, 2015 19:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geerlingguy/3826b6927876cfb0d372 to your computer and use it in GitHub Desktop.
Save geerlingguy/3826b6927876cfb0d372 to your computer and use it in GitHub Desktop.
Post Slack messages on an interval - paste this into console on a Slack chat page
setInterval(function() {
jQuery('#message-input').val('ruby--');
jQuery('#message-form').submit();
jQuery('#message-input').val('game of shadows++');
jQuery('#message-form').submit();
}, 30 * 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment