From 7fddeeec37ad295f5627a7acfb8502d6e7231366 Mon Sep 17 00:00:00 2001 From: Noah Date: Mon, 10 Jan 2022 17:48:31 -0600 Subject: [PATCH] Change Max to 100 --- Commands/close.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/close.js b/Commands/close.js index 7c7d27a..26e74b8 100644 --- a/Commands/close.js +++ b/Commands/close.js @@ -125,7 +125,7 @@ module.exports = new Command({ ) .addField("Closed By", interaction.user.tag) .addField("Reason", reason); - let msgs = await interaction.channel.messages.fetch(); + let msgs = await interaction.channel.messages.fetch({ limit: 100 }); let html = ""; msgs = msgs.sort((a, b) => a.createdTimestamp - b.createdTimestamp);