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 c62d09831b - Show all commits

View file

@ -11,6 +11,7 @@ import { definePluginSettings } from "@api/Settings";
import { Devs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
import { Forms, Toasts, UserStore } from "@webpack/common";
// eslint-disable-next-line unused-imports/no-unused-imports
import { User } from "discord-types/general";
function isCurrentUser(userId: string) {
@ -78,6 +79,11 @@ export default definePlugin({
serverBooster: {
type: OptionType.BOOLEAN
},
legacyUsername: {
type: OptionType.BOOLEAN
},
// These are badges meant for bots so idk why you would want but might as well add them
supportsCommands: {
type: OptionType.BOOLEAN
},
@ -87,9 +93,8 @@ export default definePlugin({
usesAutomod: {
type: OptionType.BOOLEAN
},
legacyUsername: {
type: OptionType.BOOLEAN
},
// These is a badge discord made for april fools 2024, again idk why you would want it but might as well add it
aClownForATime: {
type: OptionType.BOOLEAN
},
@ -197,7 +202,7 @@ export default definePlugin({
link: "https://discord.com/settings/premium"
},
{
description: "Discord 24months booster",
description: "Server Booster",
image: "https://cdn.discordapp.com/badge-icons/ec92202290b48d0879b7413d2dde3bab.png",
position: Badges.BadgePosition.END,
shouldShow: ({ userId }) => isCurrentUser(userId) && this.settings.store.serverBooster,
@ -210,7 +215,9 @@ 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
// also they are meant for bots so idk why you would want them but added them just because
{
description: "Premium App",
image: "https://cdn.discordapp.com/badge-icons/d2010c413a8da2208b7e4f35bd8cd4ac.png",
@ -232,6 +239,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
{
description: "A clown, for a limited time",