This is a walkthrough for writing a semi-intelligent Slack bot in Ruby, including Slack Button Integration, without and with libraries. If you're going to be rolling out a bot, build on slack-bot-server, slack-ruby-bot and slack-ruby-client.
See 06-intelligent-bot.rb for how to take something intelligent.