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 f2010a0..bc9db29 100644
--- a/test.rb
+++ b/test.rb
@@ -5,7 +5,7 @@ module Dinobot
def initialize
super
- @commands << :echo << :error
+ @commands << :echo << :error << :timeout
end
def echo(user, channel, argument)
@@ -15,5 +15,9 @@ module Dinobot
def error(user, channel, argument)
x
end
+
+ def timeout(user, channel, argument)
+ sleep 60
+ end
end
end