From 515f7d9e8c394cd7c21096a8e752937581c398ec Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Mon, 14 Feb 2022 14:48:33 -0800 Subject: [PATCH] fix timeout test --- node/boto.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/boto.js b/node/boto.js index d2b9e56..d31e37d 100644 --- a/node/boto.js +++ b/node/boto.js @@ -223,8 +223,8 @@ client.on("subscription", function (channel, username, method, message, userstat // MOD | Timeout // -------------------------------- client.on("timeout", (channel, username, reason, duration, userstate) => { - console.log('MOD-LOG | @'+ username, 'was banned for:', seconds, 'seconds | Reason:', reason); - client.say(channel, `Mods have spoken! @`+ username, `please take these`, seconds, `to reconsider:`, reason); + console.log('MOD-LOG | @'+ username, 'was banned for:', duration, 'seconds | Reason:', reason); + client.say(channel, `Mods have spoken! @`+ username, `please take these`, duration, `to reconsider:`, reason); client.say(channel, `!kappagen sarimoSALT sarimoRAGE`); }); client.on("unhost", (channel, viewers) => {