Class: Isis::Plugin::RubyFlow

Inherits:
Base
  • Object
show all
Defined in:
lib/isis/plugin/rubyflow.rb

Constant Summary collapse

TRIGGERS =
%w(!rf !rubyflow)

Instance Method Summary collapse

Instance Method Details

#respond_to_msg?(msg, speaker) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/isis/plugin/rubyflow.rb', line 8

def respond_to_msg?(msg, speaker)
  TRIGGERS.include? msg.downcase
end