lib/boty/script_dsl.rb in boty-0.0.15 vs lib/boty/script_dsl.rb in boty-0.0.16

- old
+ new

@@ -25,9 +25,13 @@ def message @bot.trigger_message end + def message_from_me? + message.from? @bot + end + def hear(*args, &block) match(*args, &block) end def command(*args, &block)