now config

This commit is contained in:
nin0dev 2024-08-12 21:39:25 -04:00
parent 662768ab57
commit b720044c3b

View file

@ -50,56 +50,56 @@ export default definePlugin({
description: "Discord Staff", description: "Discord Staff",
image: "https://cdn.discordapp.com/badge-icons/5e74e9b61934fc1f67c65515d1f7e60d.png", image: "https://cdn.discordapp.com/badge-icons/5e74e9b61934fc1f67c65515d1f7e60d.png",
position: Badges.BadgePosition.END, position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId), shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.discordStaff,
link: "https://discord.com/company" link: "https://discord.com/company"
}, },
{ {
description: "Partnered Server Owner", description: "Partnered Server Owner",
image: "https://cdn.discordapp.com/badge-icons/3f9748e53446a137a052f3454e2de41e.png", image: "https://cdn.discordapp.com/badge-icons/3f9748e53446a137a052f3454e2de41e.png",
position: Badges.BadgePosition.END, position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId), shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.partneredServerOwner,
link: "https://discord.com/partners" link: "https://discord.com/partners"
}, },
{ {
description: "Early Supporter", description: "Early Supporter",
image: "https://cdn.discordapp.com/badge-icons/7060786766c9c840eb3019e725d2b358.png", image: "https://cdn.discordapp.com/badge-icons/7060786766c9c840eb3019e725d2b358.png",
position: Badges.BadgePosition.END, position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId), shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.earlySupporter,
link: "https://discord.com/settings/premium" link: "https://discord.com/settings/premium"
}, },
{ {
description: "Active Developer", description: "Active Developer",
image: "https://cdn.discordapp.com/badge-icons/6bdc42827a38498929a4920da12695d9.png", image: "https://cdn.discordapp.com/badge-icons/6bdc42827a38498929a4920da12695d9.png",
position: Badges.BadgePosition.END, position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId), shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.activeDeveloper,
link: "https://support-dev.discord.com/hc/en-us/articles/10113997751447" link: "https://support-dev.discord.com/hc/en-us/articles/10113997751447"
}, },
{ {
description: "Early Verified Bot Developer", description: "Early Verified Bot Developer",
image: "https://cdn.discordapp.com/badge-icons/6df5892e0f35b051f8b61eace34f4967.png", image: "https://cdn.discordapp.com/badge-icons/6df5892e0f35b051f8b61eace34f4967.png",
position: Badges.BadgePosition.END, position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId), shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.earlyVerifiedBotDeveloper,
link: "https://discord.com/settings/premium" link: "https://discord.com/settings/premium"
}, },
{ {
description: "Moderator Programs Alumni", description: "Moderator Programs Alumni",
image: "https://cdn.discordapp.com/badge-icons/fee1624003e2fee35cb398e125dc479b.png", image: "https://cdn.discordapp.com/badge-icons/fee1624003e2fee35cb398e125dc479b.png",
position: Badges.BadgePosition.END, position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId), shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.moderatorProgramsAlumni,
link: "https://discord.com/settings/premium" link: "https://discord.com/settings/premium"
}, },
{ {
description: "Discord Bug Hunter", description: "Discord Bug Hunter",
image: "https://cdn.discordapp.com/badge-icons/2717692c7dca7289b35297368a940dd0.png", image: "https://cdn.discordapp.com/badge-icons/2717692c7dca7289b35297368a940dd0.png",
position: Badges.BadgePosition.END, position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId), shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.bugHunter,
link: "https://discord.com/settings/premium" link: "https://discord.com/settings/premium"
}, },
{ {
description: "Discord Bug Hunter", description: "Discord Bug Hunter",
image: "https://cdn.discordapp.com/badge-icons/848f79194d4be5ff5f81505cbd0ce1e6.png", image: "https://cdn.discordapp.com/badge-icons/848f79194d4be5ff5f81505cbd0ce1e6.png",
position: Badges.BadgePosition.END, position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId), shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.goldenBugHunter,
link: "https://discord.com/settings/premium" link: "https://discord.com/settings/premium"
} }
]; ];