Change Max to 100
This commit is contained in:
1 parent
b5341b023f
commit
7fddeeec37
1 file changed
+1
-1
+1
-1
@@ -125,7 +125,7 @@ module.exports = new Command({
|
|||||||
)
|
)
|
||||||
.addField("Closed By", interaction.user.tag)
|
.addField("Closed By", interaction.user.tag)
|
||||||
.addField("Reason", reason);
|
.addField("Reason", reason);
|
||||||
let msgs = await interaction.channel.messages.fetch();
|
let msgs = await interaction.channel.messages.fetch({ limit: 100 });
|
||||||
let html = "";
|
let html = "";
|
||||||
|
|
||||||
msgs = msgs.sort((a, b) => a.createdTimestamp - b.createdTimestamp);
|
msgs = msgs.sort((a, b) => a.createdTimestamp - b.createdTimestamp);
|
||||||
|
|||||||
Reference in new issue
Block a user