Sha256: d841be3b32ff17b19be68d606dff3b56a5018199829aefb56651fd08d441cb1b

Contents?: true

Size: 234 Bytes

Versions: 5

Compression:

Stored size: 234 Bytes

Contents

module Ruboty
  module Handlers
    class Help < Base
      on(/help( me)?\z/i, name: "help", description: "Show this help message")

      def help(message)
        Ruboty::Actions::Help.new(message).call
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruboty-1.1.9 lib/ruboty/handlers/help.rb
ruboty-1.1.8 lib/ruboty/handlers/help.rb
ruboty-1.1.7 lib/ruboty/handlers/help.rb
ruboty-1.1.6 lib/ruboty/handlers/help.rb
ruboty-1.1.5 lib/ruboty/handlers/help.rb