Vencord/src/plugins/plainFolderIcon.ts

16 lines
455 B
TypeScript
Raw Normal View History

2022-09-30 22:23:41 -04:00
import { Devs } from "../utils/constants";
import definePlugin from "../utils/types";
export default definePlugin({
2022-09-30 22:23:41 -04:00
name: "PlainFolderIcon",
description: "Doesn't show the small guild icons in folders",
2022-09-30 22:23:41 -04:00
authors: [Devs.botato],
patches: [{
find: "().expandedFolderIconWrapper",
replacement: [{
match: /\(\w\|\|\w\)(&&\(\w=\w\.createElement\(\w+\.animated)/,
replace: "true$1",
}]
}]
});