From 7ba27dfbcf6fd2296db821c2fc5eae96ca018bf4 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Mon, 24 Feb 2020 21:18:17 +0200 Subject: [PATCH] Update restart.js --- commands/restart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/restart.js b/commands/restart.js index 7539e089..e7ad8d25 100644 --- a/commands/restart.js +++ b/commands/restart.js @@ -9,7 +9,7 @@ module.exports = { async execute(msg, args, client, Discord, prefix, command) { client.destroy() const MusicClient = require('../struct/client.js'); - const client = new MusicClient({}); + const newClient = new MusicClient({}); msg.channel.send('restarted!'); } };