All Questions
2 questions
0
votes
1
answer
1k
views
Detecting if User Exists on the Discord Client (Discord.js)
I have been trying to detect if a user exists on the Discord Client itself... I used this:
var user_id;
//on message and after assigning user_id
if(client.users.cache.get(user_id) !== undefined) {
//...
0
votes
2
answers
1k
views
Node.js 'Not Found' callback for async.detect?
I have a file path list file_paths, and I want to detect which file exists.
If any file exists, I want to read that one. Otherwise call another function,
not_found for example.
I wish to use async....