Skip to content

Instantly share code, notes, and snippets.

@penguin2716
Created March 11, 2013 02:44
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save penguin2716/5131574 to your computer and use it in GitHub Desktop.
Save penguin2716/5131574 to your computer and use it in GitHub Desktop.
卒業証明書を発行するmikutterプラグイン
#-*- coding: utf-8 -*-
Plugin.create :degree_certificate do
command(:degree_certificate,
name: '卒業証明書を発行',
condition: lambda{ |opt| true },
visible: true,
role: :timeline) do |opt|
opt.messages.each { |m|
Service.primary.post(:message => "    卒業証明書
         @#{m.user.to_s} 殿
 あなたは人間から1つ上の領域にシフトし,
ておくれになったことをここに証明します.
 #{Time.now.strftime('%Y年%m月%d日')} @#{Service.primary.user.to_s}", :replyto => m)
}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment