From f66434e211d70649f287d32d64fecfea8109cf09 Mon Sep 17 00:00:00 2001 From: Preport Date: Sun, 2 May 2021 20:21:38 +0300 Subject: [PATCH] Fix loading same page again and again --- source/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/source/index.ts b/source/index.ts index 819ce22..0152d77 100644 --- a/source/index.ts +++ b/source/index.ts @@ -39,6 +39,7 @@ async function getMembers(groupID: string | number, groupRank: EGroupRank, cooki if (groupRank != 1) addToArray(admins, true); if (!!groupRank) addToArray(mods); if ((admins.length + mods.length < 51) || (admins.length == 0 && !groupRank) || (admins.length == 0 && mods.length == 0)) break; + page++; } return members }