forked from engineering/cloudservices
Diagnosis
parent
358604ec48
commit
38eb31dce9
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue