From 87b9b2cc61ab1a440d85341d63397339583d6cf7 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 12 Feb 2021 20:52:14 -0500 Subject: [PATCH] Fix lint --- commands/music/play.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/music/play.js b/commands/music/play.js index 0ec8d389..faf8cb30 100644 --- a/commands/music/play.js +++ b/commands/music/play.js @@ -2,7 +2,7 @@ const Command = require('../../structures/Command'); const { MessageEmbed } = require('discord.js'); const request = require('node-superfetch'); const ytdl = require('ytdl-core'); -const { shorten, verify, reactIfAble } = require('../../util/Util'); +const { shorten, verify } = require('../../util/Util'); const { GOOGLE_KEY } = process.env; module.exports = class PlayCommand extends Command { @@ -79,7 +79,7 @@ module.exports = class PlayCommand extends Command { return data.id.videoId; } - async canUseVideo(data, nsfw) { + canUseVideo(data, nsfw) { if (data.videoDetails.isPrivate || data.videoDetails.isLiveContent) return false; if (data.videoDetails.age_restricted && nsfw) return false; return true;