Fix softAssert when sending reaction
This commit is contained in:
parent
0ecbc7518a
commit
50a2ddf4b2
1 changed files with 5 additions and 0 deletions
|
@ -173,6 +173,11 @@ export async function sendReaction(
|
|||
})
|
||||
),
|
||||
});
|
||||
// Adds the reaction's attributes to the message cache so that we can
|
||||
// safely `set` on it later.
|
||||
window.MessageCache.toMessageAttributes(
|
||||
ephemeralMessageForReactionSend.attributes
|
||||
);
|
||||
|
||||
ephemeralMessageForReactionSend.doNotSave = true;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue