Last active
August 29, 2015 14:11
-
-
Save yassun/e805b3e28a55ca93fd01 to your computer and use it in GitHub Desktop.
maji_love_1000percent.gemspec
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
Gem::Specification.new do |spec| | |
spec.name = "maji_love_1000percent" | |
spec.version = "0.0.1" | |
spec.authors = ["yassun"] | |
spec.email = [""] | |
spec.summary = "return maji_love_1000percent" | |
spec.files = ["maji_love_1000percent.rb"] | |
spec.require_path = "." | |
end |
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
# maji_love_1000percent.rb | |
module Ruboty | |
module Handlers | |
class MajiLove1000percent < Base | |
on( | |
/マジLOVE1000%/, | |
name: "maji_love_1000percent_1", | |
description: "Return Are you ready?" | |
) | |
def maji_love_1000percent_1(message) | |
message.reply("Are you ready? :heartpulse:") | |
end | |
on( | |
/七色のコンパスに/, | |
name: "maji_love_1000percent_2", | |
description: "Return Uh honey 自分だけの Brand new melody" | |
) | |
def maji_love_1000percent_2(message) | |
message.reply("Uh honey 自分だけの Brand new melody :heartpulse:") | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment