mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-20 20:07:03 -04:00
Improvements, changes and fixes (#611)
This commit is contained in:
parent
5873bde6a6
commit
0fb79b763d
11 changed files with 105 additions and 71 deletions
|
@ -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{}",
|
||||
}
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue