This commit is contained in:
2025-06-26 20:07:11 +02:00
parent 929fd0cbaa
commit dcbd1891a7
+1 -1
View File
@@ -90,7 +90,7 @@ client.on(Events.MessageCreate, async (message) => {
while (true) { while (true) {
// Fetch messages in batches of 100 // Fetch messages in batches of 100
const options = { limit: 1000 }; const options = { limit: 100 };
if (lastMessageId) { if (lastMessageId) {
options.before = lastMessageId; options.before = lastMessageId;
} }