Skip to content

Updating a message from an interaction can sometimes revert to previous version of message #8102

@mxz7

Description

@mxz7

Description

Seemingly randomly when updating a message content with a button interaction update, after updating, it will return back to the previous version of the message after ~1 second.

It only seems to happen when a message has been updated multiple times, but due to the nature of it being seemingly random, I can't tell.

A video is attached of this happening, you can see that after clicking stand, it shows an end screen and a play again button. take note of the id shown in the footer of the end screen. after clicking play again the message updates with a new game as expected, and then reverts before the user gets a chance to click a button

There are no errors, the logs in the screenshot show the user pressing stand, the message is edited for 'player done' then 'replay prep' (end screen). the 'rp' (replay) button is pressed and starts a new game, from then there is no other interactions until the interaction error which is the game expiring

I've been experiencing this for a good few months now, i find it hard to believe that it's something wrong on my side as it started happening randomly, and it just seems so weird.

Related Discord Developers forum thread: https://discord.com/channels/613425648685547541/1461809536699601068/1461809536699601068 - it's not just me that's been experiencing it

Steps to Reproduce

Due to the nature of it being seemingly random, I can't reliably reproduce it, but it does happen repeatedly.

All I can gather is that it happens when updating a message from a button interaction

Expected Behavior

The message should not revert to the previous version after updating

Current Behavior

The message is reverting to the previous version after updating

Screenshots/Videos

ScreenRecording2026-01-16at17.44.39-ezgif.com-crop-video.mov
Image

Client and System Information

Using DiscordJS but I believe that is irrelevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions