Sha256: fb49be64d55b4e9bc20b2348f83b80894f648e8a32fbd6f8246c32d5a4b7ea96
Contents?: true
Size: 426 Bytes
Versions: 4
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true module Botkit class Message attr_reader :text, :command, :matches, :raw, :options, :channel_id def initialize(text:, raw: {}, channel_id: nil, command: nil, matches: nil, options: {}) @text = text @command = command @raw = raw @channel_id = channel_id @options = options @matches = matches end def command? command end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
botkit-0.0.4 | lib/botkit/message.rb |
botkit-0.0.3 | lib/botkit/message.rb |
botkit-0.0.2 | lib/botkit/message.rb |
botkit-0.0.1 | lib/botkit/message.rb |