#Fetching all members
17 messages · Page 1 of 1 (latest)
• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.
GuildMemberManager#fetch()
Fetches member(s) from a guild.
const guild = await client.guilds.fetch("744781274052296704");
is that all I use to get that
Guild#fetch()
Fetches this guild.
It isn't fetching the guild
Ok so i need to turn that one
Ok i have that turned on
how would I define the guild then
sorry I am finally migrating over from v12
ooh thats fine
const guild = client.guilds.cache.get("744781274052296704");
await guild.members.fetch();
like this
thanks i got it