old_contents: def setup(bot):
  	# This module isn't actually a cog
      return
  
  def getReadableTimeBetween(first, last):
      # A helper function to make a readable string between two times
      timeBetween = int(last-first)
      weeks   = int(timeBetween/604800)
      days    = int((timeBetween-(weeks*604800))/86400)
      hours   = int((timeBetween-(days*86400 + weeks*604800))/3600)
      minutes = int((timeBetween-(hours*3600 + days*86400 + weeks*604800))/60)
      seconds = int(timeBetween-(minutes*60 + hours*3600 + days*86400 + weeks*604800))
      msg = ""
      
      if weeks > 0:
          if weeks == 1:
              msg = '{}{:,} week, '.format(msg, str(weeks))
          else:
              msg = '{}{:,} weeks, '.format(msg, str(weeks))
      if days > 0:
          if days == 1:
              msg = '{}{:,} day, '.format(msg, str(days))
          else:
              msg = '{}{:,} days, '.format(msg, str(days))
      if hours > 0:
          if hours == 1:
              msg = '{}{:,} hour, '.format(msg, str(hours))
          else:
              msg = '{}{:,} hours, '.format(msg, str(hours))
      if minutes > 0:
          if minutes == 1:
              msg = '{}{:,} minute, '.format(msg, str(minutes))
          else:
              msg = '{}{:,} minutes, '.format(msg, str(minutes))
      if seconds > 0:
          if seconds == 1:
              msg = '{}{:,} second, '.format(msg, str(seconds))
          else:
              msg = '{}{:,} seconds, '.format(msg, str(seconds))
  
      if not msg:
          return "0 seconds"
      else:
          return msg[:-2]	
  
new_contents: def setup(bot):
  	# This module isn't actually a cog
      return
  
  def getReadableTimeBetween(first, last):
      # A helper function to make a readable string between two times
      timeBetween = int(last-first)
      weeks   = int(timeBetween/604800)
      days    = int((timeBetween-(weeks*604800))/86400)
      hours   = int((timeBetween-(days*86400 + weeks*604800))/3600)
      minutes = int((timeBetween-(hours*3600 + days*86400 + weeks*604800))/60)
      seconds = int(timeBetween-(minutes*60 + hours*3600 + days*86400 + weeks*604800))
      msg = ""
      
      if weeks > 0:
  	msg += "1 week, " if weeks == 1 else "{:,} weeks, ".format(weeks)
      if days > 0:
  	msg += "1 day, " if days == 1 else "{:,} days, ".format(days)
      if hours > 0:
  	msg += "1 hour, " if hours == 1 else "{:,} hours, ".format(hours)
      if minutes > 0:
  	msg += "1 minute, " if minutes == 1 else "{:,} minutes, ".format(minutes)
      if seconds > 0:
  	msg += "1 second, " if seconds == 1 else "{:,} seconds, ".format(seconds)
  
      if msg == "":
          return "0 seconds"
      else:
          return msg[:-2]	
  
subject: Update ReadableTime.py