From 4a086d67cafd37d5e1fe2fec3df8e70ef3694f28 Mon Sep 17 00:00:00 2001 From: Krystal Date: Wed, 2 Oct 2024 16:56:30 -0400 Subject: [PATCH] force restart --- index.tsx | 64 ++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 42 insertions(+), 22 deletions(-) diff --git a/index.tsx b/index.tsx index 7603e1b..bfb3c2b 100644 --- a/index.tsx +++ b/index.tsx @@ -19,7 +19,6 @@ function isCurrentUser(userId: string) { return u == userId; } - export default definePlugin({ name: "ClientSideBadges", description: "Adds client-side badges to your profile. Other users can't see them!", @@ -33,70 +32,91 @@ export default definePlugin({ , settings: definePluginSettings({ discordStaff: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, partneredServerOwner: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, earlySupporter: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, activeDeveloper: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, earlyVerifiedBotDeveloper: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, moderatorProgramsAlumni: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, bugHunter: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, goldenBugHunter: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, + // shout out krystalskullofficial // Nino missed some badges hypesquadEvents: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, houseOfBravery: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, houseOfBrilliance: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, houseOfBalance: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, discordQuests: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, nitro: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, serverBooster: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, legacyUsername: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, // These are badges meant for bots so idk why you would want but might as well add them supportsCommands: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, premiumApp: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, usesAutomod: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, // These is a badge discord made for april fools 2024, again idk why you would want it but might as well add it aClownForATime: { - type: OptionType.BOOLEAN + type: OptionType.BOOLEAN, + restartNeeded: true, }, }), async start() { @@ -157,6 +177,7 @@ export default definePlugin({ shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.goldenBugHunter, link: "https://discord.com/settings/premium" }, + // shout out krystalskullofficial // Nino missed some badges { @@ -217,7 +238,6 @@ export default definePlugin({ }, // these badges dont have a link because they literally dont link anywhere - // also they are meant for bots so idk why you would want them but added them just because { description: "Premium App", image: "https://cdn.discordapp.com/badge-icons/d2010c413a8da2208b7e4f35bd8cd4ac.png",