aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/plainFolderIcon.ts
diff options
context:
space:
mode:
authorbotato <63275405+botatooo@users.noreply.github.com>2022-09-30 22:23:41 -0400
committerGitHub <noreply@github.com>2022-10-01 04:23:41 +0200
commit967b101af1a36437ea66d4aed575816a098c8009 (patch)
tree74b2152ab1df558b3d6d66648f6b6b37a9470841 /src/plugins/plainFolderIcon.ts
parent18b6bce160fd43ca4b42a0d0251e539e41b96380 (diff)
downloadVencord-967b101af1a36437ea66d4aed575816a098c8009.tar.gz
Vencord-967b101af1a36437ea66d4aed575816a098c8009.tar.bz2
Vencord-967b101af1a36437ea66d4aed575816a098c8009.zip
feat(plugin): iLoveSpam (#19)
Diffstat (limited to 'src/plugins/plainFolderIcon.ts')
-rw-r--r--src/plugins/plainFolderIcon.ts15
1 files changed, 15 insertions, 0 deletions
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",
+ }]
+ }]
+});