force restart
This commit is contained in:
parent
c62d09831b
commit
4a086d67ca
1 changed files with 42 additions and 22 deletions
64
index.tsx
64
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",
|
||||
|
|
Loading…
Reference in a new issue