Open PMunch opened 2 months ago
For this case, it commonly happens when someone sends links that contain embeds. When a link is posted, the message automatically gets updated to add in the embed afterwards but on the client it does not have the (edited)
label.
Content is always the same when thats the case since only embed is added to that message containing the link automatically.
I was just testing with normal messages and editing them myself. No links or anything.
I was just testing with normal messages and editing them myself. No links or anything.
hm, could you show me the data comparison between the old one and the new one?
just go to the source code and edit the following just before the checkandcall line
In the IRC <-> Discord bridge
messageUpdate
is used to send diff'ed messages to IRC when a message on Discord is edited. Currently whenever themessageUpdate
callback is called the message inold
and the new message are the same, meaning no update message is sent. The current flow for this is here: https://github.com/nimbackup/ircord/blob/master/src/ircord.nim#L487. I'm not sure if this is an issue in the ircord bot or in this library, but the code in the bot hasn't changed in a long time, so I think it's either in this repository or on Discords servers.