module Hackbot
  module Interactions
    class Help < Hackbot::Interactions::Channel
      def self.should_start?(event, team)
        event[:type].eql?('message') &&
          mentions_command?(event, team, 'help')
      end

      def start(_event)
        msg_channel copy('help')

        :finish
      end
    end
  end
end

module Hackbot
  module Interactions
    class Help < Command
      TRIGGER = /help/

      def start(_event)
        msg_channel copy('help')

        :finish
      end
    end
  end
end

Convert Hackbot::Interactions::Help to a Command
Convert Hackbot::Interactions::Help to a Command
