1
0
Fork 0

Diagnosis

refactor/models
Bsian 2019-10-31 23:32:58 +00:00
parent 358604ec48
commit 38eb31dce9
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ export default class Util {
*/ */
public resolveCommand(command: string, args?: string[], message?: Message): Promise<{cmd: Command, args: string[] }> { public resolveCommand(command: string, args?: string[], message?: Message): Promise<{cmd: Command, args: string[] }> {
try { try {
this.client.signale.info(command);
this.client.signale.info(args);
let resolvedCommand: Command; let resolvedCommand: Command;
if (this.client.commands.has(command)) resolvedCommand = this.client.commands.get(command); if (this.client.commands.has(command)) resolvedCommand = this.client.commands.get(command);