diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-03-19 04:53:00 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-19 04:53:00 -0300 |
commit | 0fb79b763d797d70d2eb6d847b0bf711c9927337 (patch) | |
tree | b95674e930baa1a9b3651185e990b46acd82f871 /src/plugins/silentTyping.tsx | |
parent | 5873bde6a62857f92f3fb3d756914cc1efd0ec25 (diff) | |
download | Vencord-0fb79b763d797d70d2eb6d847b0bf711c9927337.tar.gz Vencord-0fb79b763d797d70d2eb6d847b0bf711c9927337.tar.bz2 Vencord-0fb79b763d797d70d2eb6d847b0bf711c9927337.zip |
Improvements, changes and fixes (#611)
Diffstat (limited to 'src/plugins/silentTyping.tsx')
-rw-r--r-- | src/plugins/silentTyping.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/silentTyping.tsx b/src/plugins/silentTyping.tsx index 83f6415..d0edaac 100644 --- a/src/plugins/silentTyping.tsx +++ b/src/plugins/silentTyping.tsx @@ -82,8 +82,8 @@ export default definePlugin({ find: ".activeCommandOption", predicate: () => settings.store.showIcon, 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{}", } }, ], |