force restart

This commit is contained in:
Krystal 2024-10-02 16:56:30 -04:00
parent c62d09831b
commit 4a086d67ca

View file

@ -19,7 +19,6 @@ function isCurrentUser(userId: string) {
return u == userId; return u == userId;
} }
export default definePlugin({ export default definePlugin({
name: "ClientSideBadges", name: "ClientSideBadges",
description: "Adds client-side badges to your profile. Other users can't see them!", description: "Adds client-side badges to your profile. Other users can't see them!",
@ -33,70 +32,91 @@ export default definePlugin({
</>, </>,
settings: definePluginSettings({ settings: definePluginSettings({
discordStaff: { discordStaff: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
partneredServerOwner: { partneredServerOwner: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
earlySupporter: { earlySupporter: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
activeDeveloper: { activeDeveloper: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
earlyVerifiedBotDeveloper: { earlyVerifiedBotDeveloper: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
moderatorProgramsAlumni: { moderatorProgramsAlumni: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
bugHunter: { bugHunter: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
goldenBugHunter: { goldenBugHunter: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
// shout out krystalskullofficial // shout out krystalskullofficial
// Nino missed some badges // Nino missed some badges
hypesquadEvents: { hypesquadEvents: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
houseOfBravery: { houseOfBravery: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
houseOfBrilliance: { houseOfBrilliance: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
houseOfBalance: { houseOfBalance: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
discordQuests: { discordQuests: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
nitro: { nitro: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
serverBooster: { serverBooster: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
legacyUsername: { 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 // These are badges meant for bots so idk why you would want but might as well add them
supportsCommands: { supportsCommands: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
premiumApp: { premiumApp: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
usesAutomod: { 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 // These is a badge discord made for april fools 2024, again idk why you would want it but might as well add it
aClownForATime: { aClownForATime: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN,
restartNeeded: true,
}, },
}), }),
async start() { async start() {
@ -157,6 +177,7 @@ export default definePlugin({
shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.goldenBugHunter, shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.goldenBugHunter,
link: "https://discord.com/settings/premium" link: "https://discord.com/settings/premium"
}, },
// shout out krystalskullofficial // shout out krystalskullofficial
// Nino missed some badges // Nino missed some badges
{ {
@ -217,7 +238,6 @@ export default definePlugin({
}, },
// these badges dont have a link because they literally dont link anywhere // 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", description: "Premium App",
image: "https://cdn.discordapp.com/badge-icons/d2010c413a8da2208b7e4f35bd8cd4ac.png", image: "https://cdn.discordapp.com/badge-icons/d2010c413a8da2208b7e4f35bd8cd4ac.png",