get id of user in dms discord.js code example
Example 1: discord.js get user by id
client.users.cache.find(user => user.id === 'USER-ID')
Example 2: dm someone by id discord.js
Client.users.get(ID.toString()).send("Hello, how are you doing?");
client.users.cache.find(user => user.id === 'USER-ID')
Client.users.get(ID.toString()).send("Hello, how are you doing?");