Skip to content

Commit

Permalink
Remove unused variable in makeResource method
Browse files Browse the repository at this point in the history
  • Loading branch information
eritislami committed Mar 7, 2024
1 parent 5fc5da2 commit fd70a52
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions structs/Song.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ export class Song {
public async makeResource(): Promise<AudioResource<Song> | 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") {
Expand Down

0 comments on commit fd70a52

Please sign in to comment.