aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/spotifyControls/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/spotifyControls/index.tsx')
-rw-r--r--src/plugins/spotifyControls/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/spotifyControls/index.tsx b/src/plugins/spotifyControls/index.tsx
index 86e187e..5d82998 100644
--- a/src/plugins/spotifyControls/index.tsx
+++ b/src/plugins/spotifyControls/index.tsx
@@ -55,7 +55,7 @@ export default definePlugin({
// return React.createElement(AccountPanel, { ..., showTaglessAccountPanel: blah })
match: /return ?(.{0,30}\(.{1,3},\{[^}]+?,showTaglessAccountPanel:.+?\}\))/,
// return [Player, Panel]
- replace: "return [Vencord.Plugins.plugins.SpotifyControls.renderPlayer(),$1]"
+ replace: "return [$self.renderPlayer(),$1]"
}
},
// Adds POST and a Marker to the SpotifyAPI (so we can easily find it)