class Ruboty::Handlers::Shonin
Constants
- SHONINS
Public Instance Methods
shonin(message = {})
click to toggle source
# File lib/ruboty/handlers/shonin.rb, line 19 def shonin(message = {}) whom = message[:whom] pre = if whom whom.gsub!('@', '') "@#{whom} " end message.reply("#{pre}#{SHONINS.sample}") end