diff --git a/src/equicordplugins/showSongName/index.tsx b/src/equicordplugins/showSongName/index.tsx new file mode 100644 index 000000000..a0d740751 --- /dev/null +++ b/src/equicordplugins/showSongName/index.tsx @@ -0,0 +1,24 @@ +/* + * Vencord, a Discord client mod + * Copyright (c) 2026 Vendicated and contributors + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +import { EquicordDevs } from "@utils/constants"; +import definePlugin from "@utils/types"; + +export default definePlugin({ + name: "ShowSongName", + description: "Shows song name instead of artist for Spotify activity", + authors: [EquicordDevs.Prism], + + patches: [ + { + find: '.join(", ");return{text:', + replacement: { + match: /(?<=.join\(", "\);return\{text:)\i/, + replace: "arguments[0]?.details??$&" + } + } + ] +});