Skip to content

Commit

Permalink
delete MaskedLinkPaste ~ now a stock Discord feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Vendicated committed Aug 3, 2024
1 parent 021d9bf commit 5160f90
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 46 deletions.
5 changes: 2 additions & 3 deletions src/plugins/_api/messagePopover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ export default definePlugin({
patches: [{
find: "Messages.MESSAGE_UTILITIES_A11Y_LABEL",
replacement: {
// foo && !bar ? createElement(reactionStuffs)... createElement(blah,...makeElement(reply-other))
match: /\i&&!\i\?\(0,\i\.jsxs?\)\(.{0,200}renderEmojiPicker:.{0,500}\?\(0,\i\.jsx\)\((\i\.\i).{0,200},"reply-other"(?<=message:(\i).+?)/,
replace: "Vencord.Api.MessagePopover._buildPopoverElements($1,$2),$&"
match: /\.jsx\)\((\i\.\i),\{label:\i\.\i\.Messages\.MESSAGE_ACTION_REPLY.{0,200}?"reply-self".{0,50}?\}\):null(?=,.+?message:(\i))/,
replace: "$&,Vencord.Api.MessagePopover._buildPopoverElements($1,$2)"
}
}],
});
5 changes: 0 additions & 5 deletions src/plugins/maskedLinkPaste/README.md

This file was deleted.

38 changes: 0 additions & 38 deletions src/plugins/maskedLinkPaste/index.ts

This file was deleted.

0 comments on commit 5160f90

Please sign in to comment.