mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-20 15:18:50 -05:00
Fix Patches
This commit is contained in:
parent
75669edb28
commit
abcfd54a35
3 changed files with 3 additions and 3 deletions
|
@ -67,7 +67,7 @@ export default definePlugin({
|
|||
settings,
|
||||
patches: [
|
||||
{
|
||||
find: "default.Messages.COLLECTIBLES_SHOP})]}",
|
||||
find: ".Messages.COLLECTIBLES_SHOP})]}",
|
||||
replacement: [{
|
||||
match: /(children:\i.default.Messages.COLLECTIBLES_SHOP)}/,
|
||||
replace: "$&,$self.PreviewToggle()"
|
||||
|
|
|
@ -18,7 +18,7 @@ export default definePlugin({
|
|||
authors: [Devs.arHSM],
|
||||
patches: [
|
||||
{
|
||||
find: ".default.Messages.SUPPRESS_ALL_EMBEDS",
|
||||
find: ".Messages.SUPPRESS_ALL_EMBEDS",
|
||||
replacement: {
|
||||
match: /case (\i\.MessageEmbedTypes\.VIDEO):(case \i\.MessageEmbedTypes\.\i:)*break;default:(\i)=(?:(this\.renderDescription)\(\))\}/,
|
||||
replace: "$2 break; case $1: $3 = $self.ToggleableDescriptionWrapper({ embed: this.props.embed, original: $4.bind(this) }); break; default: $3 = $4() }"
|
||||
|
|
|
@ -13,7 +13,7 @@ export default definePlugin({
|
|||
authors: [Devs.Grzesiek11],
|
||||
patches: [
|
||||
{
|
||||
find: ".default.Messages.DELETED_ROLE_PLACEHOLDER",
|
||||
find: ".Messages.UNKNOWN_ROLE_PLACEHOLDER",
|
||||
replacement: {
|
||||
match: String.raw`/^${"```"}(?:([a-z0-9_+\-.#]+?)\n)?\n*([^\n][^]*?)\n*${"```"}`,
|
||||
replace: "$&\\n?",
|
||||
|
|
Loading…
Add table
Reference in a new issue