forked from GitHub/dbot
minutes not hours!
This commit is contained in:
parent
ffac946235
commit
362510c468
@ -17,7 +17,7 @@ var commands = function(dbot) {
|
|||||||
|
|
||||||
if(!_.isUndefined(minutes)) {
|
if(!_.isUndefined(minutes)) {
|
||||||
minutes = parseFloat(minutes.trim());
|
minutes = parseFloat(minutes.trim());
|
||||||
var msTimeout = new Date(new Date().getTime() + (minutes * 3600000));
|
var msTimeout = new Date(new Date().getTime() + (minutes * 60000));
|
||||||
dbot.api.timers.addTimeout(msTimeout, function() {
|
dbot.api.timers.addTimeout(msTimeout, function() {
|
||||||
this.api.unquiet(server, quietee, channel);
|
this.api.unquiet(server, quietee, channel);
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
Loading…
Reference in New Issue
Block a user