D
D
Denis11112018-08-17 11:55:36
Node.js
Denis1111, 2018-08-17 11:55:36

How to make a discord bot write to another user?

How to make a discord bot write to another user?
For example, you write the !userinfo command and the bot writes information about the author not on the server itself, on him in a personal message? Or another user

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nikkkushkaaa, 2021-11-05
@nikkkushkaaa

let thanos1 = robot.users.cache.get(ID_user);
thanos1.send('message');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question