diff --git a/commands/voice/play.js b/commands/voice/play.js index 35258473..a8e9ee9c 100644 --- a/commands/voice/play.js +++ b/commands/voice/play.js @@ -83,7 +83,7 @@ module.exports = class PlayCommand extends Command { canUseVideo(data, nsfw) { if (data.videoDetails.isPrivate || data.videoDetails.isLiveContent) return false; if (data.videoDetails.age_restricted && nsfw) return false; - if (Number.parseInt(data.lengthSeconds, 10) > 900) return 'length'; + if (Number.parseInt(data.videoDetails.lengthSeconds, 10) > 900) return 'length'; return true; }