-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Description
Sometimes when an embed in a message is edited, the embed will update, then immediately revert back to its original state, before the edit.
The example in the provided video shows no delay before editing the message after the message was sent, but this does still occur when short delays are used.
Sometimes you will just not see the embed update at all. The message will change to say edited, but the embed doesn't visually change.
Steps to Reproduce
Send a message with an embed, then immediately edit the message with a new updated embed. It might take a couple tries, but usually happens within 10 tries.
import Discord from "discord.js"
const client = new Discord.Client({
intents: [
Discord.GatewayIntentBits.MessageContent,
Discord.GatewayIntentBits.GuildMessages,
Discord.GatewayIntentBits.Guilds
]
})
client.on("messageCreate", async message => {
if (message.content === "f!ping") {
const msg = await message.channel.send({
embeds: [
{
description: "before"
}
]
})
const edit = await msg.edit({
embeds: [
{
description: "after"
}
]
})
}
})
client.login(TOKENHERE)Expected Behavior
The embed actually updates every time
Current Behavior
The embed will randomly revert to the initial state, or just not update at all.
Screenshots/Videos
2025-11-15.00-37-38.mp4
Client and System Information
Discord.js v14.23.2
Windows 11 25H2 26300.7171
Discord.js v14.23.2
Ubuntu 22.04.4 LTS (GNU/Linux 6.8.0-1014-oracle aarch64)
Discord.js v13.8
Ubuntu 22.04.1 (GNU/Linux 5.15.0-1048-oracle aarch64)