aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/invisibleChat
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-03-19 04:53:00 -0300
committerGitHub <noreply@github.com>2023-03-19 04:53:00 -0300
commit0fb79b763d797d70d2eb6d847b0bf711c9927337 (patch)
treeb95674e930baa1a9b3651185e990b46acd82f871 /src/plugins/invisibleChat
parent5873bde6a62857f92f3fb3d756914cc1efd0ec25 (diff)
downloadVencord-0fb79b763d797d70d2eb6d847b0bf711c9927337.tar.gz
Vencord-0fb79b763d797d70d2eb6d847b0bf711c9927337.tar.bz2
Vencord-0fb79b763d797d70d2eb6d847b0bf711c9927337.zip
Improvements, changes and fixes (#611)
Diffstat (limited to 'src/plugins/invisibleChat')
-rw-r--r--src/plugins/invisibleChat/index.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/invisibleChat/index.tsx b/src/plugins/invisibleChat/index.tsx
index d3358be..d30bb7c 100644
--- a/src/plugins/invisibleChat/index.tsx
+++ b/src/plugins/invisibleChat/index.tsx
@@ -131,8 +131,8 @@ export default definePlugin({
{
find: ".activeCommandOption",
replacement: {
- match: /(.)\.push.{1,50}\(\i,\{.{1,30}\},"gift"\)\)/,
- replace: "$&;try{$1.push($self.chatBarIcon())}catch{}",
+ match: /(.)\.push.{1,30}disabled:(\i),.{1,20}\},"gift"\)\)/,
+ replace: "$&;try{$2||$1.push($self.chatBarIcon())}catch{}",
}
},
],