Class: Openra::IRCBot::Plugins::Orb

Inherits:
Object
  • Object
show all
Includes:
Cinch::Plugin
Defined in:
lib/openra/irc_bot/plugins/orb.rb

Instance Method Summary collapse

Instance Method Details

#execute(m) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/openra/irc_bot/plugins/orb.rb', line 9

def execute(m)
  if [true, false].sample
    m.reply "I'm not playing this map, it's imbalanced!"
  else
    m.reply "Not playing this map, it has oils that I don't know that are there"
  end
end