From 16bc47e7f84a563ec56824fa38f3cfa2b009d735 Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Sun, 15 Dec 2019 12:56:14 -0500 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 28a93ab..f5c6bcf 100644 --- a/index.js +++ b/index.js @@ -1727,7 +1727,7 @@ bot.dialog('/trivia1', [ ]); builder.Prompts.confirm(session, session.message.source === "line" ? msg : (game+" Wanna play again?"), {listStyle: 3}); - setTimeout(() => nsfw.splice(nsfw.indexOf(nsfw.find(r => r.user === session.message.address.user.id)), 1), 1000); + setTimeout(() => nsfw.splice(nsfw.indexOf(nsfw.find(r => r.user === session.message.address.user.id)), 1), 100); }, function(session, results) { if (results.response === true) session.reset("/trivia1");