From 8d8a1ef21da5566c2c3924271b48df58eae0ec8c Mon Sep 17 00:00:00 2001 From: Krystal Date: Wed, 2 Oct 2024 00:08:23 -0400 Subject: [PATCH] added more --- index.tsx | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/index.tsx b/index.tsx index d9a82fe..0d055d5 100644 --- a/index.tsx +++ b/index.tsx @@ -75,6 +75,18 @@ export default definePlugin({ supportsCommands:{ type: OptionType.BOOLEAN }, + premiumApp:{ + type: OptionType.BOOLEAN + }, + usesAutomod:{ + type: OptionType.BOOLEAN + }, + orginallyKnownAs:{ + type: OptionType.BOOLEAN + }, + aClownForATime:{ + type: OptionType.BOOLEAN + }, }), async start() { const NativeBadges: ProfileBadge[] = [ @@ -192,6 +204,36 @@ export default definePlugin({ shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.supportsCommands, link: "https://discord.com/blog/welcome-to-the-new-era-of-discord-apps?ref=badge" }, + + { + description: "Premium App", + image: "https://cdn.discordapp.com/badge-icons/d2010c413a8da2208b7e4f35bd8cd4ac.png", + position: Badges.BadgePosition.END, + shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.premiumApp, + link: "https://discord.com/blog/welcome-to-the-new-era-of-discord-apps?ref=badge" + }, + // these badges dont have a link because they literally dont link anywhere + { + description: "Uses Automod", + image: "https://cdn.discordapp.com/badge-icons/f2459b691ac7453ed6039bbcfaccbfcd.png", + position: Badges.BadgePosition.END, + shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.usesAutomod, + link: "" + }, + { + description: "Originally know as", + image: "https://cdn.discordapp.com/badge-icons/6de6d34650760ba5551a79732e98ed60.png", + position: Badges.BadgePosition.END, + shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.orginallyKnownAs, + link: "" + }, + { + description: "A clown, for a limited time", + image: "", + position: Badges.BadgePosition.END, + shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.aClownForATime, + link: "" + }, ]; NativeBadges.forEach(b => Badges.addBadge(b)); },