From 1b459e6fe6f525447ea050c3c85e8795c141cdd0 Mon Sep 17 00:00:00 2001 From: rhearmas <34490428+qu-ota@users.noreply.github.com> Date: Fri, 10 Jan 2020 21:09:00 -0500 Subject: [PATCH] some other random stuff --- commands/Utility/reload.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/Utility/reload.js b/commands/Utility/reload.js index 8fc7da2..68b357b 100644 --- a/commands/Utility/reload.js +++ b/commands/Utility/reload.js @@ -1,7 +1,7 @@ exports.run = async (client, message, args, level) => { message.delete(); - if (!args || args.length < 1) return msg.edit("Why are you trying to reload a command without actually naming it?").then(msg => { + if (!args || args.length < 1) return message.reply("why are you trying to reload a command without actually naming it?").then(msg => { msg.delete(5000); }); @@ -9,7 +9,7 @@ exports.run = async (client, message, args, level) => { const command = message.client.commands.get(commandName) || message.client.commands.find(cmd => cmd.aliases && cmd.aliases.includes(commandName)); - if (!command) return msg.edit(`There is no command with name or alias \`${commandName}\`, ${message.author}.`).then(msg => { + if (!command) return message.reply(`there is no command with name or alias \`${commandName}\`, ${message.author}.`).then(msg => { msg.delete(5000); }); let msg = await message.channel.send(`**Beginning reload process;** initiated by ${message.author.tag}. Finding and reloading command \`${args[0]}\`...`);