Last active
December 20, 2015 03:28
-
-
Save akameco/6063399 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(:fackin_hot) do | |
on_appear do |ms| | |
ms.each do |m| | |
if m.message.to_s =~ /^暑い/ | |
str = "@#{m.user.idname}" + " ファッキンホット" | |
Service.primary.post(:message => str, :replyto => m) | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment