Sha256: 2c6910fa96c42f223d0577454fee4eeb2e7bcf010e0664b66e15f78cb967d243
Contents?: true
Size: 448 Bytes
Versions: 1
Compression:
Stored size: 448 Bytes
Contents
# frozen_string_literal: true module Botkit class Message attr_reader :text, :command, :raw, :options, :channel_id, :id def initialize( text:, raw: {}, channel_id: nil, command: nil, options: {}, id: nil ) @text = text @command = command @raw = raw @channel_id = channel_id @options = options @id = id end def command? command end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
botkit-0.0.6 | lib/botkit/message.rb |