Skip to content

Commit

Permalink
Updated deprecated parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
TannerGabriel committed Jul 19, 2020
1 parent 8416c5e commit 7359e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/play.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ module.exports = {

const songInfo = await ytdl.getInfo(args[1]);
const song = {
title: songInfo.title,
url: songInfo.video_url
title: songInfo.videoDetails.title,
url: songInfo.videoDetails.video_url
};

if (!serverQueue) {
Expand Down

0 comments on commit 7359e46

Please sign in to comment.