diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-08-18 21:23:33 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-08-18 21:23:33 -0700 |
commit | 5900db6fa61e2c6537e6a33bd3be61d50812c5a6 (patch) | |
tree | 62d27a746a94792a71b36f32f0305d6f0c769699 /example.rb | |
parent | e7c5efe56e51b6c7911d5b96955a989cf0c0a092 (diff) | |
download | bocelli-5900db6fa61e2c6537e6a33bd3be61d50812c5a6.tar.gz bocelli-5900db6fa61e2c6537e6a33bd3be61d50812c5a6.tar.xz |
Do not include colon prefix in user metadata.
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)) |