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 e721104..a54683e 100644
--- a/test.rb
+++ b/test.rb
@@ -6,7 +6,7 @@ module Dinobot
super
@commands << :echo << :ping << :x3 << :fooify
- @commands << :error << :timeout << :wrongreturn
+ @commands << :error << :timeout << :wrongreturn << :invalidmethods
end
def echo(user, channel, argument)
@@ -36,5 +36,9 @@ module Dinobot
def wrongreturn(user, channel, argument)
0
end
+
+ def invalidmethods(user, channel, argument)
+ [[:say, channel]]
+ end
end
end