I am thinking of building a Slack bot, but the process makes it very hard to test it here at Splunk.
Start with this document http://go/slackbot-hacking