diff --git a/src/plugins/noSystemBadge.discordDesktop/index.ts b/src/plugins/noSystemBadge.discordDesktop/index.ts index 591a0be03..0fbb5332a 100644 --- a/src/plugins/noSystemBadge.discordDesktop/index.ts +++ b/src/plugins/noSystemBadge.discordDesktop/index.ts @@ -25,15 +25,15 @@ export default definePlugin({ authors: [Devs.rushii], patches: [ { - find: "setSystemTrayApplications:function", + find: ",setSystemTrayApplications", replacement: [ { - match: /setBadge:function.+?},/, - replace: "setBadge:function(){}," + match: /setBadge\(\i\).+?},/, + replace: "setBadge(){}," }, { - match: /setSystemTrayIcon:function.+?},/, - replace: "setSystemTrayIcon:function(){}," + match: /setSystemTrayIcon\(\i\).+?},/, + replace: "setSystemTrayIcon(){}," } ] }