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