mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 09:50:07 +00:00
plugins: fix errors (#2446)
This commit is contained in:
@@ -11,6 +11,6 @@ export async function fetchAndRetrieveMembers(bot: BotWithCache, guildId: bigint
|
||||
throw new Error("The guild was not found in cache. Unable to fetch members for uncached guild.");
|
||||
}
|
||||
|
||||
await bot.helpers.fetchMembers(guildId, guild.shardId);
|
||||
await bot.helpers.fetchMembers(guildId, { limit: 0 });
|
||||
return bot.members.filter((member) => member.guildId === guildId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user