irc url scraping plugin.
parent
4df81613f5
commit
c71a306e09
|
@ -0,0 +1,9 @@
|
|||
include EventMachine::IRC::Commands
|
||||
|
||||
Client.register_trigger("PRIVMSG") { |msg|
|
||||
message = msg[:params][1]
|
||||
|
||||
message.split { |word|
|
||||
puts word if word ~ /4cdn[.]org/
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue