Added the 'extracredit' and 'quotes' commands

This commit is contained in:
ION606
2022-02-24 22:26:07 -05:00
parent c301bde549
commit bc5359680f
7 changed files with 574 additions and 3 deletions
+20
View File
@@ -0,0 +1,20 @@
const pathToFfmpeg = require('ffmpeg-static');
const { joinVoiceChannel } = require('@discordjs/voice');
const { generateDependencyReport } = require('@discordjs/voice');
const { VoiceConnectionStatus, AudioPlayerStatus } = require('@discordjs/voice');
module.exports = {
name: "playaudio",
execute(message, args, client) {
const channel = "930148609406685227";
//console.log(generateDependencyReport());
connection.on(VoiceConnectionStatus.Ready, (oldState, newState) => {
console.log('Connection is in the Ready state!');
});
const connection = joinVoiceChannel({
channelId: channel,
guildId: channel.guild,
adapterCreator: channel.guild.voiceAdapterCreator,
});
}
}