Class: Isis::Plugin::DesignMilk

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

Constant Summary collapse

TRIGGERS =
%w(!designmilk !dm)

Instance Method Summary collapse

Instance Method Details

#respond_to_msg?(msg, speaker) ⇒ Boolean

Returns:

  • (Boolean)


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

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