From c742a4420007c68e10c13487826270607fa7289f Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 12 Feb 2021 20:52:23 -0500 Subject: [PATCH] Fix lint --- commands/music/play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/music/play.js b/commands/music/play.js index faf8cb30..11b9d11b 100644 --- a/commands/music/play.js +++ b/commands/music/play.js @@ -47,7 +47,7 @@ module.exports = class PlayCommand extends Command { const result = await this.searchForVideo(query, msg.channel.nsfw || false); if (!result) return msg.say('Could not find any results for your query.'); const data = await ytdl.getInfo(result); - const canPlay = await this.canUseVideo(data, msg.channel.nsfw || false); + const canPlay = this.canUseVideo(data, msg.channel.nsfw || false); if (!canPlay) return msg.say('I cannot play this video.'); await msg.reply('Is this the video you want to play? Type **[y]es** or **[n]o**.', { embed: this.generateEmbed(data)