Class: Bender::Processor::SmartAss

Inherits:
BaseProcessor show all
Defined in:
processors/smart_ass.rb

Overview

Description

Makes smart ass comments

Dependencies

none

Configuration

none

Authors

Michael Heijmans ([email protected])

Instance Attribute Summary

Attributes inherited from BaseProcessor

#bot, #command, #msg, #origin, #room

Instance Method Summary collapse

Methods inherited from BaseProcessor

#call, #directly_addressed?, #hear, #initialize, #reply, #respond, #should_process?

Constructor Details

This class inherits a constructor from Bender::BaseProcessor

Instance Method Details

#processObject


15
16
17
18
19
20
# File 'processors/smart_ass.rb', line 15

def process
  hear(/coffee/i)       { reply "Coffee's for CLOSERS!!!" }
  hear(/beer/i)         { reply "Beer you say? You buyin' #{@origin.nickname}?" }
  hear(/fuck/i)         { reply "Hey! watch the fucking language" }
  hear(/stupid r?o?bot/i) { reply "I don't tell you how to tell me what to do, so don't tell me how to do what you tell me to do" }
end