uups remove removed thing

This commit is contained in:
ITOH
2021-04-16 21:01:58 +02:00
parent d2bad949a1
commit 5e38471175
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export function fetchMembers(
// You can request 1 member without the intent
if (
(!options?.limit || options.limit > 1) &&
!(ws.identifyPayload.intents && DiscordGatewayIntents.GUILD_MEMBERS)
!(ws.identifyPayload.intents & DiscordGatewayIntents.GUILD_MEMBERS)
) {
throw new Error(Errors.MISSING_INTENT_GUILD_MEMBERS);
}