Sha256: b2223825137c9cee83b6cb4c011827e6d029a54fc82f5b101e99860c7cb1a90d
Contents?: true
Size: 406 Bytes
Versions: 1
Compression:
Stored size: 406 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.5 | lib/botkit/message.rb |