I love both of you Discord and Spotify, but this new 30 seccond rule gets pretty annoying when my music gets turned off while just talking "to much." I mean talking kind of is the whole point of Discord...
Recently, Discord started automatically pausing Spotify when your mic has been active for 30 seconds while Spotify is playing (on any device) in order to comply with Spotify's ToS. While I this is a valid reason, it is annoying.
After a while this got too annyoing, my music would just flat out stop while playing games on mic with friends, while using headphones.
Use Better Discord and add discord-spotify-fix.plugin.js
to your plugins folder.
Copy the contents of copyme.js
into the developer tool's console of the Discord app.
The only caveat being you'll have to do this everytime you open Discord.
If you gonna scroll down from the top you will find bunch of randow words and letters or so called code in the post where it was originally posted, so there's two version that you can use is copyme.js which allows you to execute without BetterDiscord installed but you need to do it every time you turn on the Discord. But it might be harder now after the new recent Discord update where you can't open inspect element. If you will go on any browser and press ctrl+shift+i or f12 you will be able to open it. Then below it you will find discord-spotify-fix.plugin.js whivh I think you can download if not copy it and paste it in a .txt file for example spotify-plugin.txt > spotify-plugin.js and put it in the spotify plugin folder.