From e3529f04bb6e4fc330691a004260bca9af3e2fb2 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Fri, 26 Feb 2021 18:01:45 -0600 Subject: [PATCH] Remove reaction timeout message --- bot/awesomescibo.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/awesomescibo.mjs b/bot/awesomescibo.mjs index 99221c0..5149306 100755 --- a/bot/awesomescibo.mjs +++ b/bot/awesomescibo.mjs @@ -275,7 +275,7 @@ client.on('message', async message => { const filter = (reaction, user) => { return ['❌', '✅'].includes(reaction.emoji.name) && user.id === message.author.id; }; - message.awaitReactions(filter, { max: 1, time: 60000, errors: ['time'] }) + message.awaitReactions(filter, { max: 1, time: 600000, errors: ['time'] }) .then(reaction => { var reaction = reaction.first(); if (reaction.emoji.name === "❌") { @@ -285,7 +285,7 @@ client.on('message', async message => { } }) .catch(collected => { - message.channel.send("\n**REACTION TIMEOUT**"); + //message.channel.send("\n**REACTION TIMEOUT**"); }) }) .catch (collected => {