fix changes

This commit is contained in:
ITOH
2021-05-04 21:05:43 +02:00
parent d87d66649e
commit aefd5c75f5
16 changed files with 24 additions and 25 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export async function getMembers(
guildId: bigint,
options?: ListGuildMembers & { addToCache?: boolean },
) {
if (!(ws.identifyPayload.intents && DiscordGatewayIntents.GUILD_MEMBERS)) {
if (!(ws.identifyPayload.intents && DiscordGatewayIntents.GuildMembers)) {
throw new Error(Errors.MISSING_INTENT_GUILD_MEMBERS);
}