Skip to content

Instantly share code, notes, and snippets.

@memememomo
Last active August 29, 2015 14:19
Show Gist options
  • Save memememomo/1673bda6a372454b1708 to your computer and use it in GitHub Desktop.
Save memememomo/1673bda6a372454b1708 to your computer and use it in GitHub Desktop.
Gem::Specification.new do |spec|
spec.name = "nfu"
spec.version = "0.0.1"
spec.authors = ["uchiko"]
spec.email = ["memememomo"]
spec.summary = "return nfu"
spec.files = ["nfu.rb"]
spec.require_path = "."
end
module Ruboty
module Handlers
class Nfu < Base
on(
/test/,
name: 'nfu',
description: 'Return んふんふ',
)
def nfu(message)
message.reply('んふんふ :heartpulse:')
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment