MORE BADGES 🦅🦅🔥🔥🗣 #1

Merged
nin0 merged 9 commits from :main into main 2024-10-04 07:37:24 -04:00
Showing only changes of commit 2c192d30e0 - Show all commits

View file

@ -1,3 +1,9 @@
/*
* Vencord, a Discord client mod
* Copyright (c) 2024 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
// //
import { ProfileBadge } from "@api/Badges"; import { ProfileBadge } from "@api/Badges";
import { Badges } from "@api/index"; import { Badges } from "@api/index";
@ -19,7 +25,7 @@ export default definePlugin({
authors: [ authors: [
{ name: "KrystalSkullOfficial", id: 929208515883569182n }, { name: "KrystalSkullOfficial", id: 929208515883569182n },
Devs.nin0dev, Devs.nin0dev,
], ],
settingsAboutComponent: () => <> settingsAboutComponent: () => <>
<Forms.FormTitle style={{ color: "red", fontSize: "2rem", fontWeight: "bold" }}>Only you can view the badges. No, this can't and won't be changed.</Forms.FormTitle> <Forms.FormTitle style={{ color: "red", fontSize: "2rem", fontWeight: "bold" }}>Only you can view the badges. No, this can't and won't be changed.</Forms.FormTitle>
<Forms.FormText>You may need to reload Discord after editing your settings for them to apply.</Forms.FormText> <Forms.FormText>You may need to reload Discord after editing your settings for them to apply.</Forms.FormText>
@ -49,8 +55,8 @@ export default definePlugin({
goldenBugHunter: { goldenBugHunter: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN
}, },
// shout out krystalskullofficial // shout out krystalskullofficial
// Nino missed some badges // Nino missed some badges
hypesquadEvents: { hypesquadEvents: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN
}, },
@ -69,22 +75,22 @@ export default definePlugin({
nitro: { nitro: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN
}, },
serverBooster:{ serverBooster: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN
}, },
supportsCommands:{ supportsCommands: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN
}, },
premiumApp:{ premiumApp: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN
}, },
usesAutomod:{ usesAutomod: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN
}, },
legacyUsername:{ legacyUsername: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN
}, },
aClownForATime:{ aClownForATime: {
type: OptionType.BOOLEAN type: OptionType.BOOLEAN
}, },
}), }),
@ -146,8 +152,8 @@ 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
{ {
description: "HypeSquad Events", description: "HypeSquad Events",
image: "https://cdn.discordapp.com/badge-icons/bf01d1073931f921909045f3a39fd264.png", image: "https://cdn.discordapp.com/badge-icons/bf01d1073931f921909045f3a39fd264.png",
@ -156,21 +162,21 @@ export default definePlugin({
link: "https://support.discord.com/hc/en-us/articles/360035962891-Profile-Badges-101#h_01GM67K5EJ16ZHYZQ5MPRW3JT3" link: "https://support.discord.com/hc/en-us/articles/360035962891-Profile-Badges-101#h_01GM67K5EJ16ZHYZQ5MPRW3JT3"
}, },
{ {
description: "House Of Bravery", description: "HypeSquad Bravery",
image: "https://cdn.discordapp.com/badge-icons/8a88d63823d8a71cd5e390baa45efa02.png", image: "https://cdn.discordapp.com/badge-icons/8a88d63823d8a71cd5e390baa45efa02.png",
position: Badges.BadgePosition.END, position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.houseOfBravery, shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.houseOfBravery,
link: "https://discord.com/settings/hypesquad-online" link: "https://discord.com/settings/hypesquad-online"
}, },
{ {
description: "House Of Briliance", description: "HypeSquad Briliance",
image: "https://cdn.discordapp.com/badge-icons/011940fd013da3f7fb926e4a1cd2e618.png", image: "https://cdn.discordapp.com/badge-icons/011940fd013da3f7fb926e4a1cd2e618.png",
position: Badges.BadgePosition.END, position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.houseOfBrilliance, shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.houseOfBrilliance,
link: "https://discord.com/settings/hypesquad-online" link: "https://discord.com/settings/hypesquad-online"
}, },
{ {
description: "House Of Balance", description: "HypeSquad Balance",
image: "https://cdn.discordapp.com/badge-icons/3aa41de486fa12454c3761e8e223442e.png", image: "https://cdn.discordapp.com/badge-icons/3aa41de486fa12454c3761e8e223442e.png",
position: Badges.BadgePosition.END, position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.houseOfBalance, shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.houseOfBalance,
@ -204,7 +210,7 @@ export default definePlugin({
shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.supportsCommands, shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.supportsCommands,
link: "https://discord.com/blog/welcome-to-the-new-era-of-discord-apps?ref=badge" 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 // these badges dont have a link because they literally dont link anywhere
{ {
description: "Premium App", description: "Premium App",
image: "https://cdn.discordapp.com/badge-icons/d2010c413a8da2208b7e4f35bd8cd4ac.png", image: "https://cdn.discordapp.com/badge-icons/d2010c413a8da2208b7e4f35bd8cd4ac.png",
@ -226,7 +232,7 @@ export default definePlugin({
shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.legacyUsername, shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.legacyUsername,
link: "" link: ""
}, },
// Im linking to a dicord video about lootboxs incase someone doesnt know the context behind this badge // Im linking to a dicord video about lootboxs incase someone doesnt know the context behind this badge
{ {
description: "A clown, for a limited time", description: "A clown, for a limited time",
image: "https://discord.com/assets/971cfe4aa5c0582000ea.svg", image: "https://discord.com/assets/971cfe4aa5c0582000ea.svg",