This commit is contained in:
Dragon Fire
2020-06-01 23:45:27 -04:00
parent 2a11f936ef
commit 9ed5aab2e2
+1 -3
View File
@@ -1,6 +1,4 @@
const Command = require('../../structures/Command');
const { MessageEmbed } = require('discord.js');
const { embedURL } = require('../../util/Util');
module.exports = class UsesCommand extends Command {
constructor(client) {
@@ -21,7 +19,7 @@ module.exports = class UsesCommand extends Command {
}
run(msg, { command }) {
if (command.uses === undefined) return msg.say('This command\'s usage stats aren\'t being tracked.');
if (command.uses === undefined) return msg.reply('That command\'s usage stats aren\'t being tracked.');
return msg.say(`The \`${command.name}\` command has been used **${command.uses}** times.`);
}
};