I've never used Slack but I looked up what Slackbots are. In short, I would create this bot, package it as a slack app (https://api.slack.com/slack-apps), and implement the slack button (https://api.slack.com/docs/slack-button) for your installation, correct?