#await client.users.fetch(args[0]).then(function (result) {

8 messages · Page 1 of 1 (latest)

zinc elm
#

How to do this with a sharded bot. (args[0] contains the userID.)

onyx harnessBOT
#

• 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.

wintry tangle
#

I dont see why that would change

zinc elm
#

because the bot doesn't see all the members

#

since it's sharded

wintry tangle
#

But you're fetching a user

zinc elm
#

it only sees the members in it's shard

wintry tangle
#

It has nothing to do with which guilds or members are cached