diff options
Diffstat (limited to 'test.rb')
-rw-r--r-- | test.rb | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |