Class: Openra::IRCBot::Plugins::WeeMan
- Inherits:
-
Object
- Object
- Openra::IRCBot::Plugins::WeeMan
- Includes:
- Cinch::Plugin
- Defined in:
- lib/openra/irc_bot/plugins/wee_man.rb
Instance Method Summary collapse
Instance Method Details
#execute(m, user) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/openra/irc_bot/plugins/wee_man.rb', line 9 def execute(m, user) m.reply <<-QUOTE.strip.gsub(/\s+/, ' ') #{prefix(user)} #{first.sample} #{second.sample} #{third.sample} #{fourth.sample} QUOTE end |