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