feat(plugin): iLoveSpam (#19)

This commit is contained in:
botato 2022-09-30 22:23:41 -04:00 committed by GitHub
parent 18b6bce160
commit 967b101af1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 5 deletions

View file

@ -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",
}]
}]
});