Fix break logic
This commit is contained in:
parent
0de5b2b933
commit
0e907469e1
1 changed files with 1 additions and 2 deletions
3
index.js
3
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue