From 2caac65a352f5e2d7c3f96c7eb10d507934f1494 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Wed, 1 Jan 2020 21:39:29 +0200 Subject: [PATCH] Update handleVideo.js --- Struct/funcs/handleVideo.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Struct/funcs/handleVideo.js b/Struct/funcs/handleVideo.js index 1607d098..4f524bef 100644 --- a/Struct/funcs/handleVideo.js +++ b/Struct/funcs/handleVideo.js @@ -7,13 +7,6 @@ module.exports = async function (video, message, voiceChannel, client, playlist author: message.author } const serverQueue = client.queue.get(message.guild.id); - if (client.global.db.guilds[message.guild.id].defaultVolume === undefined) { - client.global.db.guilds[message.guild.id] = { - prefix: client.global.db.guilds[message.guild.id].prefix, - defaultVolume: 5, - }; - return message.channel.send(':x: `Error:` the default volume is undefined for this server. Please try again after a while.'); - } if (!serverQueue) { const construct = { textChannel: message.channel,