1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 18:06:22 +00:00

Fix FakeNitro sticker bypass (#1964)

This commit is contained in:
zImPatrick 2023-11-07 19:58:10 +01:00 committed by Luna
parent 28d5a9fb4f
commit 1b8e373512

View file

@ -206,10 +206,10 @@ export default definePlugin({
}, },
// Allow stickers to be sent everywhere // Allow stickers to be sent everywhere
{ {
find: "canUseStickersEverywhere:function", find: "canUseCustomStickersEverywhere:function",
predicate: () => settings.store.enableStickerBypass, predicate: () => settings.store.enableStickerBypass,
replacement: { replacement: {
match: /canUseStickersEverywhere:function\(\i\){/, match: /canUseCustomStickersEverywhere:function\(\i\){/,
replace: "$&return true;" replace: "$&return true;"
}, },
}, },