This commit is contained in:
ITOH
2021-04-09 22:22:06 +02:00
parent 3fc62b9572
commit dc9c33f0d4
22 changed files with 40 additions and 40 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ export async function getMembers(guildId: string, options?: GetMemberOptions) {
(options?.limit ?? guild.memberCount) > members.size &&
membersLeft > 0
) {
eventHandlers.debug("loop", "Running while loop in getMembers function.");
eventHandlers.debug?.("loop", "Running while loop in getMembers function.");
if (options?.limit && options.limit > 1000) {
console.log(
@@ -67,7 +67,7 @@ export async function getMembers(guildId: string, options?: GetMemberOptions) {
if (!memberStructures.length) break;
memberStructures.forEach((member) => {
eventHandlers.debug(
eventHandlers.debug?.(
"loop",
`Running forEach loop in get_members file.`,
);