This commit is contained in:
Daniel Odendahl Jr
2017-10-16 13:19:40 +00:00
parent 4976e10811
commit d72fb25655
+1 -1
View File
@@ -39,7 +39,7 @@ module.exports = class DECTalkCommand extends Command {
}
if (!channel.joinable) return msg.say('Your voice channel is not joinable.');
if (this.client.voiceConnections.has(channel.guild.id)) return msg.say('I am already playing a sound.');
const file = path.join(__dirname, '..', '..', 'assets', `dec-talk ${channel.guild.id}.mp3`);
const file = path.join(__dirname, '..', '..', 'assets', `dec-talk ${channel.guild.id}.wav`);
try {
const connection = await channel.join();
const { body } = await snekfetch