diff --git a/src/modules/Queue.ts b/src/modules/Queue.ts index 74ea411..45670f6 100644 --- a/src/modules/Queue.ts +++ b/src/modules/Queue.ts @@ -475,10 +475,6 @@ export class Queue { await this.connection.playStream(resource, this.volume) } else if (source === `spotify`) { - if (playdl.is_expired()) { - await playdl.refreshToken() - } - const sp_stream = await playdl.stream(await playdl.search(`${author} ${title}`, { source: { youtube: `video` } }).then(result => result[0].url), { seek: options?.seek }) const resource = this.connection.createStream(sp_stream.stream, { type: sp_stream.type, data: track })