Fix InvisChat, PreviewMsg, SendTimestamps, SilentMsg, SilentType, Translate
This commit is contained in:
@ -129,10 +129,10 @@ export default definePlugin({
|
||||
authors: [Devs.Aria],
|
||||
patches: [
|
||||
{
|
||||
find: ".activeCommandOption",
|
||||
find: "ChannelTextAreaButtons",
|
||||
replacement: {
|
||||
match: /(.)\.push.{1,30}disabled:(\i),.{1,20}\},"gift"\)\)/,
|
||||
replace: "$&;try{$2||$1.unshift($self.previewIcon(arguments[0]))}catch{}",
|
||||
match: /(\i)\.push.{1,30}disabled:(\i),.{1,20}\},"gift"\)\)/,
|
||||
replace: "$&,(()=>{try{$2||$1.push($self.chatBarIcon(arguments[0]))}catch{}})()",
|
||||
}
|
||||
},
|
||||
],
|
||||
|
Reference in New Issue
Block a user