Vencord/src/plugins/plainFolderIcon.ts

16 lines
455 B
TypeScript
Raw Normal View History

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