mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-31 03:33:36 -05:00
regex find
This commit is contained in:
parent
526133e43d
commit
8e1140f26d
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ export default definePlugin({
|
|||
authors: [Devs.Samwich],
|
||||
patches: [
|
||||
{
|
||||
find: "l.Z.STICKER_MESSAGE",
|
||||
find: /\i\.\i\.STICKER_MESSAGE/,
|
||||
replacement: {
|
||||
match: /}\),\(null!=\i\?\i:(\i)\)\.name]}\);/,
|
||||
replace: "$& if(Vencord.Settings.plugins.StickerBlocker.blockedStickers.split(\", \").includes($1.id)) { return($self.blockedComponent($1)) }"
|
||||
|
|
Loading…
Reference in a new issue