diff options
Diffstat (limited to 'test.rb')
-rw-r--r-- | test.rb | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -5,7 +5,7 @@ module Dinobot def initialize super - @commands << :echo << :error << :timeout << :x3 << :wrongreturn + @commands << :echo << :error << :timeout << :x3 << :wrongreturn << :fooify end def echo(user, channel, argument) @@ -27,5 +27,9 @@ module Dinobot def wrongreturn(user, channel, argument) 0 end + + def fooify(user, channel, argument) + [[:say, channel, 'foo' + argument]] + end end end |