diff --git a/index.js b/index.js index 2cfa8d7..d7c9762 100644 --- a/index.js +++ b/index.js @@ -80,8 +80,7 @@ const runList = async (listData, listID, channel) => { await Promise.allSettled(promises); - if (i === chunkCount) { - console.log('Reached the end of ban chunks. Breaking loop.') + if (i +1 === chunkCount) { break; }