repo.or.cz
/
dcbot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
New plugin: suggestions
[dcbot.git]
/
keyboard.rb
blob
f543bf6e811261ff798485c2b10a9280ef36de06
1
module KeyboardInput
2
include EventMachine::Protocols::LineText2
3
4
def receive_line(line)
5
line.chomp!
6
$socket.sendPublicMessage(line)
7
end
8
end