Skip to content

fix(RoleColorEverywhere): MessageLinkEmbeds DM error#648

Merged
Nuckyz merged 2 commits into
Vendicated:mainfrom
lewisakura:fix/rce-mle-compat
Mar 22, 2023
Merged

fix(RoleColorEverywhere): MessageLinkEmbeds DM error#648
Nuckyz merged 2 commits into
Vendicated:mainfrom
lewisakura:fix/rce-mle-compat

Conversation

@lewisakura
Copy link
Copy Markdown
Collaborator

@lewisakura lewisakura commented Mar 21, 2023

Adds null checks for both channel and guild ID, and short circuits both of them being undefined when getting a color.

Fixes #646.

Comment thread src/plugins/roleColorEverywhere.tsx Outdated
@Nuckyz Nuckyz merged commit 55a66db into Vendicated:main Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] message link embeds from dms not working

4 participants