From 2ebeea1ef406496b69174187cebad6d49aa8be31 Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 11 Apr 2016 21:49:17 +0000 Subject: [PATCH] test --- modules/remind/remind.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/remind/remind.js b/modules/remind/remind.js index bb91e12..34dc749 100644 --- a/modules/remind/remind.js +++ b/modules/remind/remind.js @@ -30,6 +30,8 @@ var remind = function(dbot) { this.internalAPI = { 'getSeconds': function(number,interval) { switch(interval) { + case "y": + return number * 365 * 60 * 60; case "d": return number*24*60*60; case "h":