#52 in the new Anammox File TY!

This commit is contained in:
thororen1234 2024-10-14 19:35:47 -04:00
parent deceb2ba97
commit b80d12a5cc

View file

@ -89,11 +89,12 @@ export default definePlugin({
}, },
{ {
// Gift button // Gift button
find: ".gifts)||void 0===", find: "GIFT_BUTTON)",
replacement: { replacement: {
match: /let\{disabled:\i,channel:\i\}=\i/, match: /if\(\i\)return null;/,
replace: "return null;$&", replace: "return null;",
}, },
all: true,
predicate: () => settings.store.gift, predicate: () => settings.store.gift,
}, },
{ {