Removed the audio player for now

This commit is contained in:
ION606
2022-04-24 13:51:11 -04:00
parent 40df2f9514
commit 2252a280ea
+7 -9
View File
@@ -6,15 +6,13 @@ const { VoiceConnectionStatus, AudioPlayerStatus } = require('@discordjs/voice')
module.exports = { module.exports = {
name: "playaudio", name: "playaudio",
execute(message, args, client) { execute(message, args, client) {
// message.channel.send("This command has not been set up yet\nSorry!"); message.channel.send("This command has not been set up yet\nSorry!");
// return; return;
const ytdl = require('ytdl-core-discord'); // const ytdl = require('ytdl-core-discord');
const url = args[0]; // const url = args[0];
async function play(connection, url) { // async function play(connection, url) {
connection.playOpusStream(await ytdl(url)); // connection.playOpusStream(await ytdl(url));
} // }
} }
} }