Last active
August 29, 2015 14:02
-
-
Save botchju/9f376f6c16701ac68df5 to your computer and use it in GitHub Desktop.
mikutterで600ユーロをふぁぼ
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 :600ユーロ do | |
command(:wahhab, | |
name: '600ユーロ', | |
condition: lambda{ |opt| true }, | |
visible: false, | |
role: :window) do |opt| | |
end | |
#600ユーロ(600eur)をふぁぼ | |
on_appear do |ms| | |
ms.each do |m| | |
if m.message.to_s =~ /600ユーロ/ or m.message.to_s =~ /600eur/ and m.user != Service.primary.user then | |
m.favorite | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment