Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.