diff options
author | botato <63275405+botatooo@users.noreply.github.com> | 2022-09-30 19:34:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 01:34:27 +0200 |
commit | 3e64054283acbbe2697c9fc583bba7a06e1003b2 (patch) | |
tree | 2b2a143f1c26c451ae60acd335d1d7f73d9cc0ba | |
parent | bfee307194940514a8544c549c0a2ce87ca98c0b (diff) | |
download | Vencord-3e64054283acbbe2697c9fc583bba7a06e1003b2.tar.gz Vencord-3e64054283acbbe2697c9fc583bba7a06e1003b2.tar.bz2 Vencord-3e64054283acbbe2697c9fc583bba7a06e1003b2.zip |
feat(plugins): add folder svg icon plugin (#16)
-rw-r--r-- | src/plugins/folderSvgIcon.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/plugins/folderSvgIcon.ts b/src/plugins/folderSvgIcon.ts new file mode 100644 index 0000000..1f91cab --- /dev/null +++ b/src/plugins/folderSvgIcon.ts @@ -0,0 +1,14 @@ +import definePlugin from "../utils/types"; + +export default definePlugin({ + name: "Folder SVG Icon", + description: "Doesn't show the small guild icons in folders", + author: "botato", + patches: [{ + find: "().expandedFolderIconWrapper", + replacement: [{ + match: /\(\w\|\|\w\)(&&\(\w=\w\.createElement\(\w+\.animated)/, + replace: "true$1", + }] + }] +}); |