mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix lint
This commit is contained in:
@@ -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.`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user