formatting
This commit is contained in:
parent
57275357b5
commit
2c192d30e0
1 changed files with 22 additions and 16 deletions
24
index.tsx
24
index.tsx
|
@ -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";
|
||||||
|
@ -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
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue