From 957e6b0691d63f3c32f9eb20f66132084f9d0631 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 20 Mar 2024 00:20:13 -0400 Subject: [PATCH] Fix lint --- util/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/Util.js b/util/Util.js index 5eeee81c..a1387b47 100644 --- a/util/Util.js +++ b/util/Util.js @@ -327,7 +327,7 @@ module.exports = class Util { if (!num) return false; return num > 0 && num <= arr.length; }; - const msgs = await msg.channel.awaitMessages({ filter,max: 1, time }); + const msgs = await msg.channel.awaitMessages({ filter, max: 1, time }); if (!msgs.size) return defalt; return arr[Number.parseInt(msgs.first().content, 10) - 1]; }