Answer the question
In order to leave comments, you need to log in
How to get information about the user when his message is answered?
It turns out that if I reply to a user's message with the !id command, it is his ID that should be sent to me. How can I do that?
Answer the question
In order to leave comments, you need to log in
Forwarded message:
let ID = msg.hasForwards ? msg.forwards[0].senderId : 'Нет пересланого сообщения'
return msg.send(`${ID}`);
let ID =msg.hasReplyMessage ? msg.replyMessage.senderId : 'Нет ответа на сообщение';
return msg.send(`${ID}`);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question