From b955a1c2bad28d87bd01507187d5d40118282142 Mon Sep 17 00:00:00 2001 From: thororen <78185467+thororen1234@users.noreply.github.com> Date: Sat, 20 Apr 2024 13:39:43 -0400 Subject: [PATCH] Feat(UserPFP): Fix Spelling --- src/equicordplugins/{usrpfp => userpfp}/index.tsx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) rename src/equicordplugins/{usrpfp => userpfp}/index.tsx (91%) diff --git a/src/equicordplugins/usrpfp/index.tsx b/src/equicordplugins/userpfp/index.tsx similarity index 91% rename from src/equicordplugins/usrpfp/index.tsx rename to src/equicordplugins/userpfp/index.tsx index eba6a6f7..46c98b4d 100644 --- a/src/equicordplugins/usrpfp/index.tsx +++ b/src/equicordplugins/userpfp/index.tsx @@ -30,19 +30,18 @@ const settings = definePluginSettings({ export default definePlugin({ data, - name: "UserPFP", description: "Allows you to use an animated avatar without Nitro", - authors: [EquicordDevs.nexpid, EquicordDevs.thororen, EquicordDevs.FoxStorm1, EquicordDevs.coolesding], + authors: [EquicordDevs.nexpid, EquicordDevs.thororen], settings, settingsAboutComponent: () => ( <> - Submit your own pfp here + Submit your own PFP here!

- Support UserPFP + Support UserPFP here! ), @@ -62,15 +61,13 @@ export default definePlugin({ ] } ], - getAvatarHook: (original: any) => (user: User, animated: boolean, size: number) => { if (settings.store.preferNitro && user.avatar?.startsWith("a_")) return original(user, animated, size); return data.avatars[user.id] ?? original(user, animated, size); }, - async start() { const res = await fetch(BASE_URL); if (res.ok) this.data = data = await res.json(); - }, + } });