Big Fix
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user