Discord.js Изменить сообщение от ID
client.channels.cache.get(channelid).fetchMessage(messageid).then(msg => msg.delete());
navin_hariharan
client.channels.cache.get(channelid).fetchMessage(messageid).then(msg => msg.delete());
message.channel.send("Beep").then((sentMessage) => sentMessage.edit("Boop!"))
let msg = await message.channel.send('ping...')
msg.edit('PONG!')
message.channel.send("Doing it...").then((sentMessage) => sentMessage.edit("Done!"));