From 967b101af1a36437ea66d4aed575816a098c8009 Mon Sep 17 00:00:00 2001 From: botato <63275405+botatooo@users.noreply.github.com> Date: Fri, 30 Sep 2022 22:23:41 -0400 Subject: feat(plugin): iLoveSpam (#19) --- src/plugins/plainFolderIcon.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/plugins/plainFolderIcon.ts (limited to 'src/plugins/plainFolderIcon.ts') diff --git a/src/plugins/plainFolderIcon.ts b/src/plugins/plainFolderIcon.ts new file mode 100644 index 0000000..c04c78b --- /dev/null +++ b/src/plugins/plainFolderIcon.ts @@ -0,0 +1,15 @@ +import { Devs } from "../utils/constants"; +import definePlugin from "../utils/types"; + +export default definePlugin({ + name: "PlainFolderIcon", + description: "Doesn't show the small guild icons in folders", + authors: [Devs.botato], + patches: [{ + find: "().expandedFolderIconWrapper", + replacement: [{ + match: /\(\w\|\|\w\)(&&\(\w=\w\.createElement\(\w+\.animated)/, + replace: "true$1", + }] + }] +}); -- cgit