From fd70a52339d5d10115b3a12975ecbd822b0d18ae Mon Sep 17 00:00:00 2001 From: Erit Islami Date: Thu, 7 Mar 2024 20:21:52 +0100 Subject: [PATCH] Remove unused variable in makeResource method --- structs/Song.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/structs/Song.ts b/structs/Song.ts index 05d943b1c..9e5dd9354 100644 --- a/structs/Song.ts +++ b/structs/Song.ts @@ -63,8 +63,6 @@ export class Song { public async makeResource(): Promise | void> { let playStream; - let type = this.url.includes("youtube.com") ? StreamType.Opus : StreamType.OggOpus; - const source = this.url.includes("youtube") ? "youtube" : "soundcloud"; if (source === "youtube") {