aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/betterRoleDot.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-04-04 21:09:47 +0200
committerVendicated <vendicated@riseup.net>2023-04-04 21:14:55 +0200
commitf092f434fe48ba0db8b3c0c66524899b5a21c4f1 (patch)
treee6d571da1f9caa7198a0f8583358235354387998 /src/plugins/betterRoleDot.ts
parent2e6dfaa8795d093e50d87ebb5e7805cddb29a52c (diff)
downloadVencord-f092f434fe48ba0db8b3c0c66524899b5a21c4f1.tar.gz
Vencord-f092f434fe48ba0db8b3c0c66524899b5a21c4f1.tar.bz2
Vencord-f092f434fe48ba0db8b3c0c66524899b5a21c4f1.zip
Fix Vencord
Diffstat (limited to 'src/plugins/betterRoleDot.ts')
-rw-r--r--src/plugins/betterRoleDot.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/betterRoleDot.ts b/src/plugins/betterRoleDot.ts
index 62068c7..481077b 100644
--- a/src/plugins/betterRoleDot.ts
+++ b/src/plugins/betterRoleDot.ts
@@ -45,6 +45,13 @@ export default definePlugin({
replace: "true",
},
},
+ {
+ find: ".colorPickerFooter",
+ replacement: {
+ match: /function (\i).{0,200}\.colorPickerFooter/,
+ replace: "$self.ColorPicker=$1;$&"
+ }
+ }
],
options: {