-
-
Save 1995hnagamin/9335a43d09d718015226 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
Plugin.create :mikutter_korosareru do | |
on_appear do |ms| | |
ms.each do |m| | |
if m.message.to_s =~ /殺す([^る]|$)/ and !(m.retweet?) and !(m.from_me?) then | |
Service.primary.post( | |
:message => "殺される #{m.parma_link()}" | |
) | |
end | |
end | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment