whoopsie
This commit is contained in:
parent
f2b7c280ed
commit
fd8108e0e5
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
|
require 'pp'
|
||||||
|
|
||||||
include EventMachine::IRC::Commands
|
include EventMachine::IRC::Commands
|
||||||
|
|
||||||
Client.register_trigger("PRIVMSG", "pretty_print") { |msg|
|
Client.register_trigger("PRIVMSG", "pretty_print") { |msg|
|
||||||
pp msg
|
puts Time.now.to_s + msg.pretty_inspect
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue