formatting

This commit is contained in:
Krystal 2024-10-02 00:56:34 -04:00
parent 57275357b5
commit 2c192d30e0

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 { Badges } from "@api/index";
@ -19,7 +25,7 @@ export default definePlugin({
authors: [
{ name: "KrystalSkullOfficial", id: 929208515883569182n },
Devs.nin0dev,
],
],
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.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: {
type: OptionType.BOOLEAN
},
// shout out krystalskullofficial
// Nino missed some badges
// shout out krystalskullofficial
// Nino missed some badges
hypesquadEvents: {
type: OptionType.BOOLEAN
},
@ -69,22 +75,22 @@ export default definePlugin({
nitro: {
type: OptionType.BOOLEAN
},
serverBooster:{
serverBooster: {
type: OptionType.BOOLEAN
},
supportsCommands:{
supportsCommands: {
type: OptionType.BOOLEAN
},
premiumApp:{
premiumApp: {
type: OptionType.BOOLEAN
},
usesAutomod:{
usesAutomod: {
type: OptionType.BOOLEAN
},
legacyUsername:{
legacyUsername: {
type: OptionType.BOOLEAN
},
aClownForATime:{
aClownForATime: {
type: OptionType.BOOLEAN
},
}),
@ -146,8 +152,8 @@ export default definePlugin({
shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.goldenBugHunter,
link: "https://discord.com/settings/premium"
},
// shout out krystalskullofficial
// Nino missed some badges
// shout out krystalskullofficial
// Nino missed some badges
{
description: "HypeSquad Events",
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"
},
{
description: "House Of Bravery",
description: "HypeSquad Bravery",
image: "https://cdn.discordapp.com/badge-icons/8a88d63823d8a71cd5e390baa45efa02.png",
position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.houseOfBravery,
link: "https://discord.com/settings/hypesquad-online"
},
{
description: "House Of Briliance",
description: "HypeSquad Briliance",
image: "https://cdn.discordapp.com/badge-icons/011940fd013da3f7fb926e4a1cd2e618.png",
position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.houseOfBrilliance,
link: "https://discord.com/settings/hypesquad-online"
},
{
description: "House Of Balance",
description: "HypeSquad Balance",
image: "https://cdn.discordapp.com/badge-icons/3aa41de486fa12454c3761e8e223442e.png",
position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.houseOfBalance,
@ -204,7 +210,7 @@ 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"
},
// 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",
image: "https://cdn.discordapp.com/badge-icons/d2010c413a8da2208b7e4f35bd8cd4ac.png",
@ -226,7 +232,7 @@ export default definePlugin({
shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.legacyUsername,
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",
image: "https://discord.com/assets/971cfe4aa5c0582000ea.svg",