Permalink
Browse files

Update examples/plugins/own_events.rb

  • Loading branch information...
1 parent 9470b14 commit e06aa9db64d080f547dcecfbd8f44dedc11f051e @oz oz committed May 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/plugins/own_events.rb
@@ -8,7 +8,7 @@ def initialize(bot)
def start
while true
sleep 5 # pretend that we are waiting for some kind of entropy
- @bot.dispatch(:random_number, nil, Kernel.rand)
+ @bot.handlers.dispatch(:random_number, nil, Kernel.rand)
end
end
end

0 comments on commit e06aa9d

Please sign in to comment.