UNPKG

muskytape

Version:

Framework não oficial do Discord.js

25 lines (22 loc) 599 B
const Command = require('../base'); module.exports = class UnknownCommandCommand extends Command { constructor(client) { super(client, { name: 'unknown-command', group: 'util', memberName: 'unknown-command', description: 'Displays help information for when an unknown command is used.', examples: ['unknown-command kickeverybodyever'], unknown: true, hidden: true }); } run(msg) { return msg.reply( `Comando desconhecido. Use ${msg.anyUsage('help', msg.guild ? undefined : null, msg.guild ? undefined : null )} para ver a lista de comandos.` ); } };