Created
          February 27, 2013 19:24 
        
      - 
      
 - 
        
Save suisho/5050844 to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | IrcBot = require 'hubot-irc' | |
| module.exports = (robot) -> | |
| dummy = IrcBot.use(robot) | |
| if(robot.adapter.constructor is not dummy.constructor) | |
| return | |
| robot.enter () -> | |
| bot = robot.adapter.bot | |
| bot.say = (target, str) -> | |
| this.notice(target, str) | |
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment