mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 09:33:03 -04:00
Fix SpotifyControls
This commit is contained in:
parent
685f44d40f
commit
c3ccbbfa99
2 changed files with 4 additions and 4 deletions
|
@ -59,8 +59,8 @@ export default definePlugin({
|
|||
{
|
||||
find: ".PLAYER_DEVICES",
|
||||
replacement: {
|
||||
match: /get:(.{1,3})\.bind\(null,(.{1,6})\.get\)/,
|
||||
replace: "SpotifyAPIMarker:1,post:$1.bind(null,$2.post),$&"
|
||||
match: /get:(\i)\.bind\(null,(\i\.\i)\.get\)/,
|
||||
replace: "post:$1.bind(null,$2.post),$&"
|
||||
}
|
||||
},
|
||||
// Discord doesn't give you the repeat kind, only a boolean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue