From 04fb1cc67b40a813c9c4dbc31408b36a8d7c9b74 Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 20 Mar 2016 17:51:48 +0000 Subject: [PATCH] add channel name --- modules/kick/commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/kick/commands.js b/modules/kick/commands.js index 364df4b..218db9e 100644 --- a/modules/kick/commands.js +++ b/modules/kick/commands.js @@ -39,12 +39,12 @@ var commands = function(dbot) { if(this.recentTimeouts[user.id] == 0) { delete this.recentTimeouts[user.id]; } - }.bind(this), 300000); + }.bind(this), 3600000); if(this.recentTimeouts[user.id] == 3) { duration = null; reason += ' #permatimeout'; - dbot.say(event.server, dbot.config.servers[event.server].admin_channel, quietee + ' has been given three timeouts in the last hour, and so has been quieted indefinitely. Please review.'); + dbot.say(event.server, dbot.config.servers[event.server].admin_channel, quietee + ' has been given three timeouts in the last hour, and so has been quieted indefinitely in '+channel+'. Please review.'); } this.api.quietUser(server, quieter, duration, channel, quietee, reason, function(response) {