/* * Vencord, a Discord client mod * Copyright (c) 2024 Vendicated and contributors * SPDX-License-Identifier: GPL-3.0-or-later */ import { Devs } from "@utils/constants"; import definePlugin from "@utils/types"; import FriendCodesPanel from "./FriendCodesPanel"; export default definePlugin({ name: "FriendCodes", description: "Generate FriendCodes to easily add friends", authors: [Devs.HypedDomi], patches: [ { find: "#{intl::ADD_FRIEND})}),(", replacement: { match: /header,children:\[.*?\{\}\)/, replace: "$&,$self.FriendCodesPanel" } } ], get FriendCodesPanel() { return ; } });