From f0f914ec9699a4b715533e7bf491fe162b0203ec Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 18 Jun 2021 12:14:16 -0300 Subject: [PATCH] make le help command better --- commands/help.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/commands/help.js b/commands/help.js index 96d1b08..956edac 100644 --- a/commands/help.js +++ b/commands/help.js @@ -4,11 +4,12 @@ module.exports.desc = "get help for commands or something idk"; module.exports.exec = function (vanillaclient, client, server, args) { if(args[0] && commands.includes(`${args[0]}.js`)) { let cmd = require(`./${args[0]}`); - vanillaclient.chat(`${args[0]} - ${cmd.desc}`); + vanillaclient.chat(`§7Help for: §6${args[0]}`) + vanillaclient.chat(`§6${args[0]}§7: §3${cmd.desc}`); } else if(!args[0]) { commands.forEach(function(command) { let cmd = require(`./${command}`); - vanillaclient.chat(`${command.replace(".js","")} - ${cmd.desc}`); + vanillaclient.chat(`§6${command.replace(".js","")}§7: §3${cmd.desc}`); }); } else { vanillaclient.chat("§4Command not found. :(");