From 2252a280eae4de6272fec757abf411f4c8977287 Mon Sep 17 00:00:00 2001 From: ION606 Date: Sun, 24 Apr 2022 13:51:11 -0400 Subject: [PATCH] Removed the audio player for now --- commands/playAudio.js | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/commands/playAudio.js b/commands/playAudio.js index 12f1c30..865fedc 100644 --- a/commands/playAudio.js +++ b/commands/playAudio.js @@ -6,15 +6,13 @@ const { VoiceConnectionStatus, AudioPlayerStatus } = require('@discordjs/voice') module.exports = { name: "playaudio", execute(message, args, client) { - // message.channel.send("This command has not been set up yet\nSorry!"); - // return; - const ytdl = require('ytdl-core-discord'); - const url = args[0]; + message.channel.send("This command has not been set up yet\nSorry!"); + return; + // const ytdl = require('ytdl-core-discord'); + // const url = args[0]; - async function play(connection, url) { - connection.playOpusStream(await ytdl(url)); - } - - + // async function play(connection, url) { + // connection.playOpusStream(await ytdl(url)); + // } } } \ No newline at end of file