Updated deemix lib to 3.3.4

This commit is contained in:
RemixDev
2021-07-27 21:24:57 +02:00
parent ac13f3c096
commit 91c7163402
4 changed files with 16 additions and 21 deletions

View File

@@ -49,8 +49,8 @@ plugins.spotify.setup()
export const listener = {
send(key: string, data?: any) {
if (data) console.log(key, data)
else console.log(key)
const logLine = deemix.utils.formatListener(key, data)
if (logLine) console.log(logLine)
if (['downloadInfo', 'downloadWarn'].includes(key)) return
wss.clients.forEach(client => {
if (client.readyState === WebSocket.OPEN) {