Last active
August 29, 2015 14:00
-
-
Save suna-pan/02f77fabe9570d389bce to your computer and use it in GitHub Desktop.
θͺ°γγπ©γ¦γ³γ³γ’γ«π©γγγ¨γ€γγγ¦π©γ¦γ³γ³γ’γ«π©γγmikutterγγ©γ°γ€γ³
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 :unko_moll do | |
on_appear do |ms| | |
ms.each do |m| | |
if !m.retweet? && m.user.to_s != Service.primary.user.to_s && m.message.to_s =~ /π©γ¦γ³γ³γ’γ«π©/ | |
m.favorite | |
Service.primary.post :message => "π©γ¦γ³γ³γ’γ«π©" | |
end | |
end | |
end | |
command(:unko_moll, | |
name: "π©γ¦γ³γ³γ’γ«π©", | |
condition: ->_{true}, | |
visible: true, | |
role: :timeline) do |m| | |
m.messages.map do |msg| | |
Service.primary.post :message => "π©γ¦γ³γ³γ’γ«π©" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment