「みくっ」とだけつぶやくとみくみくになるmikutterプラグイン
Plugin.create :automikumiku do | |
on_posted do |s,ms| | |
ms.each do |m| | |
if m.message.to_s == "みくっ" | |
Thread.new do | |
5.times do |x| | |
s.post :message => "#{"みく" * (x+2)}" | |
sleep 1 | |
end | |
end | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment