mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 18:05:01 +02:00
Change arg assignment
This commit is contained in:
@@ -23,8 +23,7 @@ module.exports = class HelpCommand extends Command {
|
||||
});
|
||||
}
|
||||
|
||||
async run(msg, args) {
|
||||
const { command } = args;
|
||||
async run(msg, { command }) {
|
||||
const commands = this.client.registry.findCommands(command, false, msg);
|
||||
if (command) {
|
||||
if (commands.length === 1) {
|
||||
|
||||
Reference in New Issue
Block a user