From 36a4fab93af516b416b2624b06581d29b07bfa40 Mon Sep 17 00:00:00 2001 From: prism Date: Sat, 17 Jan 2026 17:37:03 +0100 Subject: [PATCH] feat(ShowSongName): new plugin (#653) --- src/equicordplugins/showSongName/index.tsx | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/equicordplugins/showSongName/index.tsx 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??$&" + } + } + ] +});