Commit Graph

11 Commits

Author SHA1 Message Date
V
6300198a54
MessageLinkEmbeds: Fix niche unclaimed account bug
This plugin fires MESSAGE_UPDATE events for messages containing message
links (to rerender them). If the updated message is an interaction, it
contains message.interaction.user. If the one who ran the command is
you, message.interaction.user will be you and the email in this data is
always set to null. Discord seems to update the local user data with
this user. So essentially, in the above described edge case it would
update the current user to have no email (only locally, in memory. There
is 0 risk for your account, it was just a temporary visual bug) which
would cause the unclaimed account banner to appear.

This commit fixes this by simply omitting the interaction field from the
MESSAGE_UPDATE event
2023-05-28 22:02:47 +02:00
Vendicated
0d5e2d0696
[skip ci] Refactor utils 2023-05-06 01:36:00 +02:00
Vendicated
bf795c49df
[skip ci] Update Monaco; Fix code scanning errors 2023-04-29 04:16:28 +02:00
Vendicated
a00542b61b
MessageLinkEmbeds: Fix weird commas in title 2023-03-26 01:27:30 +01:00
Vendicated
ab8c93fbac
Rewrite MessageLinkEmbeds part 2 2023-03-02 21:05:09 +01:00
Vendicated
d6a3edefd9
Rewrite MessageLinkEmbeds to improve Code Quality 2023-03-02 21:01:31 +01:00
Vendicated
727297ec4e
Fix messageLinkEmbeds 2023-03-02 18:49:24 +01:00
Ven
614234ad20
MessageLinkEmbeds: Prevent infinite cycles (#488) 2023-02-12 19:43:57 +01:00
ActuallyTheSun
eecc555dac
Fix Badges & MessageLinkEmbeds (#383) 2023-01-07 17:17:18 +01:00
Vendicated
8113ed3c8c
Fix canary 2023-01-07 03:19:37 +01:00
ActuallyTheSun
c8f2141114
feat(plugin): add MessageLinkEmbeds (#264)
Co-authored-by: Ven <vendicated@riseup.net>
2022-12-14 23:44:58 +01:00