function getMembers(serverId) {
const server = client.guilds.cache.get(serverId)
server.members.fetch({limit: 1})
.then(console.log)
.catch(console.error)
}
This function never returns anything. Can you help me?
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
function getMembers(serverId) {
const server = client.guilds.cache.get(serverId)
server.members.fetch({limit: 1})
.then(console.log)
.catch(console.error)
}
This function never returns anything. Can you help me?