Как мне заставить бота реагировать на сообщение, которое он только что отправил в разногласиях по идентификатору?
В этом случае я уже получил идентификатор сообщения:
if(inf.t !== "MESSAGE_UPDATE") return
let here = inf.d.id;
if(inf.d.id === `${here}`){
message.channel.send(`${here}`);
message.react("✅"); //this react is just to this reaction is only in
//the message that I sent the command
}
});