 ## Robot event bindings
 module.exports = (robot) ->
   buffer = new PantsBuffer()
+
+  robot.adapter.on 'say', (target, target, str) ->
+    console.log "WOULD ADD: #{target.user.name}: #{str}"
 
   # We listen to everything.
   # Everything.

  if /minus/i.test(name)
    # Another one fond of aliases
    name = 'minusx'
    
  if /jense/i.test(name) or /prawn/i.test(name)
    # Has bouncer, bounces anyway
    name = 'prawn'
    
  if /geckomuerto/i.test(name)
    # ;_;
    name = 'geckomuerto'

filterText = (text) ->
  # Urls are secret. Not for you. Not for anyone.
  text = text.replace(/(https?:\/\/[^\s]+)/, "[redacted]")

  # Emails 'R' Secret
  text = text.replace(/([^@\s]+@)[^@\s]+\.[^@\s]+/, "$1[redacted]")

