Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update examples/plugins/own_events.rb

  • Loading branch information...
commit e06aa9db64d080f547dcecfbd8f44dedc11f051e 1 parent 9470b14
@oz oz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/plugins/own_events.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.