diff --git a/src/equicordplugins/noNitroUpsell/index.ts b/src/equicordplugins/noNitroUpsell/index.ts index 5208ba11..f7df20e6 100644 --- a/src/equicordplugins/noNitroUpsell/index.ts +++ b/src/equicordplugins/noNitroUpsell/index.ts @@ -37,6 +37,15 @@ export default definePlugin({ name: "NoNitroUpsell", description: "Removes ALL of Discord's nitro upsells by tricking the client into thinking you have nitro.", authors: [EquicordDevs.thororen], + patches: [ + { + find: "ProductCatalog", + replacement: { + match: /\i\.warn\("Cannot find the corresponding SKU to the user's premium type "\.concat\(\i\.premiumType\)\),/, + replace: "" + } + } + ], start() { user = UserStore.getCurrentUser(); if (user) ready(user); diff --git a/src/plugins/consoleJanitor/index.ts b/src/plugins/consoleJanitor/index.ts index 4b3193ed..2c29bf67 100644 --- a/src/plugins/consoleJanitor/index.ts +++ b/src/plugins/consoleJanitor/index.ts @@ -123,13 +123,6 @@ export default definePlugin({ replace: "" } }, - { - find: "ProductCatalog", - replacement: { - match: /\i\.warn\("Cannot find the corresponding SKU to the user's premium type "\.concat\(\i\.premiumType\)\),/, - replace: "" - } - }, { find: "Slow dispatch on", replacement: {