Skip to content

Instantly share code, notes, and snippets.

@akameco
Last active December 20, 2015 03:28
Show Gist options
  • Save akameco/6063399 to your computer and use it in GitHub Desktop.
Save akameco/6063399 to your computer and use it in GitHub Desktop.
ファッキンホット!
# -*- 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