From a6ce102e05549c8c8235116f015f8bd389474afc Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Sun, 14 Feb 2021 20:07:21 +0100 Subject: [PATCH] added emoji command --- commands/help.js | 3 --- server.js | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/commands/help.js b/commands/help.js index f6246b8..b710bd9 100644 --- a/commands/help.js +++ b/commands/help.js @@ -20,9 +20,6 @@ module.exports = { for (const file of commandFiles) { const command = require(`./${file}`); - - - embed.addFields( { name: prefix+command.name, value: command.description }, ) diff --git a/server.js b/server.js index f316e4e..e531611 100644 --- a/server.js +++ b/server.js @@ -40,7 +40,7 @@ client.on('message', async message => { try { if (commandName == "ban" || commandName == "userinfo" || commandName == "botinfo") { command.execute(message, client); - } else if (commandName == "say") { + } else if (commandName == "say" || commandName == "e") { command.execute(message, args) } else {