From 5abb2e3bf95c6aa301571cf8b3e144414b562f3f Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Wed, 31 Mar 2021 19:41:43 -0500 Subject: [PATCH] Stop deleting messages during scoring --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5fc0fe3..818d04d 100644 --- a/index.js +++ b/index.js @@ -43,7 +43,7 @@ async function startScoring(message) { scoreboard.channel.send(`Here's the score:\nTeam A: ${scoreA}\nTeam B: ${scoreB}`).catch(console.error); } else if (m.content === "$score finish") { //m.delete({ timeout: 1000 }).catch(console.error); - scoreboard.delete({ timeout: 1000 }); + //scoreboard.delete({ timeout: 1000 }); m.channel.send(`**FINAL SCORE:**\nTeam A: ${scoreA}\nTeam B: ${scoreB}`).catch(console.error); collector.stop(); }