aboutsummaryrefslogtreecommitdiff
path: root/test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test.rb')
-rw-r--r--test.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test.rb b/test.rb
index 665c21e..735af2c 100644
--- a/test.rb
+++ b/test.rb
@@ -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