 
   # When a user enters, check if someone left them a message
   robot.enter (msg) ->
-    timeago = require('timeago')
+    if config.relativeTime
+      timeago = require('timeago')
     username = msg.message.user.name
     room = msg.message.user.room
     if localstorage[room]?

#   Tell Hubot to send a user a message when present in the room
#
# Dependencies:
#   timeago
#
# Configuration:
#   HUBOT_TELL_ALIASES [optional] - Comma-separated string of command aliases for "tell".
#
# Commands:
#   hubot tell <recipients> <some message> - tell <recipients> <some message> next time they are present.

    process.env.HUBOT_TELL_ALIASES.split(',').filter((x) -> x?.length)
  else
    []
  relativeTime: process.env.HUBOT_TELL_RELATIVE_TIME?

module.exports = (robot) ->
  localstorage = {}
