This commit is contained in:
Dragon Fire
2020-05-04 22:14:42 -04:00
parent 9a708f5303
commit bd83ef0b6e
+1 -1
View File
@@ -53,7 +53,7 @@ module.exports = class DECTalkCommand extends Command {
return msg.say('Missing the "Connect" or "Speak" permission for the voice channel.');
}
if (!voiceChannel.joinable) return msg.say('Your voice channel is not joinable.');
if (this.client.voiceConnections.has(voiceChannel.guild.id)) return msg.say('I am already playing a sound.');
if (this.client.voice.connections.has(voiceChannel.guild.id)) return msg.say('I am already playing a sound.');
try {
const connection = await voiceChannel.join();
const { url } = await request