From e38a70a25e472be2f040ff3e0349dab34869252b Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sun, 7 Jul 2024 00:48:27 -0400 Subject: [PATCH] Fix Broken Devs --- src/equicordplugins/friendshipRanks/index.tsx | 4 +--- src/equicordplugins/holyNotes/index.tsx | 3 ++- src/equicordplugins/iRememberYou/index.tsx | 8 ++------ src/equicordplugins/noAppsAllowed/index.tsx | 3 ++- src/equicordplugins/soundBoardLogger/index.tsx | 7 +------ src/equicordplugins/themeLibrary/index.tsx | 8 ++------ src/equicordplugins/whosWatching/index.tsx | 4 +--- src/plugins/experiments/index.tsx | 8 +------- 8 files changed, 12 insertions(+), 33 deletions(-) diff --git a/src/equicordplugins/friendshipRanks/index.tsx b/src/equicordplugins/friendshipRanks/index.tsx index de76d10e..40d72fdc 100644 --- a/src/equicordplugins/friendshipRanks/index.tsx +++ b/src/equicordplugins/friendshipRanks/index.tsx @@ -146,9 +146,7 @@ function getBadgesToApply() { export default definePlugin({ name: "FriendshipRanks", description: "Adds badges showcasing how long you have been friends with a user for", - authors: [ - Devs.Samwich - ], + authors: [Devs.Samwich], start() { getBadgesToApply().forEach(thing => Vencord.Api.Badges.addBadge(thing)); diff --git a/src/equicordplugins/holyNotes/index.tsx b/src/equicordplugins/holyNotes/index.tsx index 6a3a9b24..7bd2e1c6 100644 --- a/src/equicordplugins/holyNotes/index.tsx +++ b/src/equicordplugins/holyNotes/index.tsx @@ -22,6 +22,7 @@ import { NavContextMenuPatchCallback } from "@api/ContextMenu"; import { DataStore } from "@api/index"; import { addButton, removeButton } from "@api/MessagePopover"; import ErrorBoundary from "@components/ErrorBoundary"; +import { EquicordDevs } from "@utils/constants"; import { classes } from "@utils/misc"; import { openModal } from "@utils/modal"; import definePlugin from "@utils/types"; @@ -70,7 +71,7 @@ function ToolBarHeader() { export default definePlugin({ name: "HolyNotes", description: "Holy Notes allows you to save messages", - authors: [{ id: 347096063569559553n, name: "wolfieeeeeeee" }], + authors: [EquicordDevs.Wolfie], dependencies: ["MessagePopoverAPI", "ChatInputButtonAPI"], patches: [ diff --git a/src/equicordplugins/iRememberYou/index.tsx b/src/equicordplugins/iRememberYou/index.tsx index a55afa29..23c14771 100644 --- a/src/equicordplugins/iRememberYou/index.tsx +++ b/src/equicordplugins/iRememberYou/index.tsx @@ -8,6 +8,7 @@ import { DataStore } from "@api/index"; import { addPreSendListener, removePreSendListener } from "@api/MessageEvents"; import { ExpandableHeader } from "@components/ExpandableHeader"; import { Heart } from "@components/Heart"; +import { EquicordDevs } from "@utils/constants"; import { openUserProfile } from "@utils/discord"; import * as Modal from "@utils/modal"; import definePlugin from "@utils/types"; @@ -362,12 +363,7 @@ export default definePlugin({ name: constants.pluginLabel, description: "Locally saves everyone you've been communicating with (including servers), in case of lose", - authors: [ - { - name: "zoodogood", - id: 921403577539387454n, - }, - ], + authors: [EquicordDevs.zoodogood], dependencies: ["MessageEventsAPI"], patches: [], diff --git a/src/equicordplugins/noAppsAllowed/index.tsx b/src/equicordplugins/noAppsAllowed/index.tsx index d047a708..ef4437e4 100644 --- a/src/equicordplugins/noAppsAllowed/index.tsx +++ b/src/equicordplugins/noAppsAllowed/index.tsx @@ -4,12 +4,13 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ +import { EquicordDevs } from "@utils/constants"; import definePlugin from "@utils/types"; export default definePlugin({ name: "noAppsAllowed", description: "returns the bot's tag :skulk:", - authors: [{ name: "kvba", id: 105170831130234880n }], + authors: [EquicordDevs.kvba], patches: [ { diff --git a/src/equicordplugins/soundBoardLogger/index.tsx b/src/equicordplugins/soundBoardLogger/index.tsx index f433082a..98521df2 100644 --- a/src/equicordplugins/soundBoardLogger/index.tsx +++ b/src/equicordplugins/soundBoardLogger/index.tsx @@ -19,12 +19,7 @@ import { getListeners } from "./utils"; export default definePlugin({ name: "SoundBoardLogger", - authors: [ - Devs.Moxxie, - EquicordDevs.Fres, - Devs.echo, - EquicordDevs.thororen - ], + authors: [Devs.Moxxie, EquicordDevs.Fres, Devs.echo, EquicordDevs.thororen], settings, patches: [ { diff --git a/src/equicordplugins/themeLibrary/index.tsx b/src/equicordplugins/themeLibrary/index.tsx index 2384abd6..48e4c5fb 100644 --- a/src/equicordplugins/themeLibrary/index.tsx +++ b/src/equicordplugins/themeLibrary/index.tsx @@ -4,6 +4,7 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ +import { EquicordDevs } from "@utils/constants"; import definePlugin from "@utils/types"; import { SettingsRouter } from "@webpack/common"; @@ -12,12 +13,7 @@ import { settings } from "./settings"; export default definePlugin({ name: "ThemeLibrary", description: "A library of themes for Vencord.", - authors: [ - { - name: "Fafa", - id: 428188716641812481n, - }, - ], + authors: [EquicordDevs.Fafa], settings, toolboxActions: { "Open Theme Library": () => { diff --git a/src/equicordplugins/whosWatching/index.tsx b/src/equicordplugins/whosWatching/index.tsx index 4af65138..20e46455 100644 --- a/src/equicordplugins/whosWatching/index.tsx +++ b/src/equicordplugins/whosWatching/index.tsx @@ -81,9 +81,7 @@ const AvatarStyles = findByPropsLazy("moreUsers", "emptyUser", "avatarContainer" export default definePlugin({ name: "WhosWatching", description: "Hover over the screenshare icon to view what users are watching your stream", - authors: [ - EquicordDevs.Fres - ], + authors: [EquicordDevs.Fres], settings: settings, patches: [ { diff --git a/src/plugins/experiments/index.tsx b/src/plugins/experiments/index.tsx index 4cf8439b..a7daf5be 100644 --- a/src/plugins/experiments/index.tsx +++ b/src/plugins/experiments/index.tsx @@ -42,13 +42,7 @@ const settings = definePluginSettings({ export default definePlugin({ name: "Experiments", description: "Enable Access to Experiments & other dev-only features in Discord!", - authors: [ - Devs.Megu, - Devs.Ven, - Devs.Nickyux, - Devs.BanTheNons, - Devs.Nuckyz - ], + authors: [Devs.Megu, Devs.Ven, Devs.Nickyux, Devs.BanTheNons, Devs.Nuckyz], settings,