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

24 lines
696 B
TypeScript
Raw Normal View History

2022-10-04 00:36:02 +00:00
import { Devs } from "../utils/constants";
import definePlugin from "../utils/types";
export default definePlugin({
name: "NoSystemBadge",
description: "Disables the taskbar and system tray unread count badge.",
authors: [Devs.rushii],
patches: [
{
find: "setSystemTrayApplications:function",
replacement: [
{
match: /setBadge:function.+?},/,
replace: "setBadge:function(){},"
},
{
match: /setSystemTrayIcon:function.+?},/,
replace: "setSystemTrayIcon:function(){},"
}
]
}
]
});