This might work

This commit is contained in:
danielbodendahl
2017-10-02 15:00:54 -04:00
parent 18e6bac490
commit 1c18b37e42
+1 -1
View File
@@ -40,7 +40,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', `${channel.guild.id}.mp3`);
const file = path.join(__dirname, '..', '..', 'temp', `dec-talk ${channel.guild.id}.mp3`);
try {
const connection = await channel.join();
const { body } = await snekfetch