diff options
Diffstat (limited to 'example.rb')
-rw-r--r-- | example.rb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -35,6 +35,10 @@ class TestBot < Bocelli::Base on 'current' do out '%s %s' % [@bocelli[:str].inspect, @bocelli[:route].inspect] end + + on 'user' do + out @bocelli[:metadata][:user] + end end TestBot.configure('chat.freenode.net', 6667, 'bocelli%03d' % rand(1000)) |