Created
March 3, 2013 05:37
-
-
Save penguin2716/5074680 to your computer and use it in GitHub Desktop.
favstarに対応
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(:too_late) do | |
command(:too_late, | |
name: 'Too late', | |
condition: lambda{ |opt| true }, | |
visible: true, | |
role: :timeline) do |opt| | |
opt.messages.each { |m| | |
Service.primary.post(:message => "@#{m.user.idname} Too late.", :replyto => m) | |
} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment