1
0
Fork 0

fix: typo in the notify command

refactor/models
Hiroyuki 2021-07-07 01:59:57 -04:00
parent 94417ece94
commit a3d15b231c
No known key found for this signature in database
GPG Key ID: C15AC26538975A24
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ export default class Notify extends Command {
}); });
message.delete(); message.delete();
await this.client.util.sendMessageToUserTerminal(account.username, `NOTIFICATION FROM TECHNICIAN: ${args.slice(1).join(' ')}`).catch(() => { }); await this.client.util.sendMessageToUserTerminal(account.username, `NOTIFICATION FROM TECHNICIAN: ${args.slice(1).join(' ')}`).catch(() => { });
return edit.edit(`***${this.client.stores.emojis.success} Send notification to ${account.username}.***`); return edit.edit(`***${this.client.stores.emojis.success} Sent notification to ${account.username}.***`);
} catch (error) { } catch (error) {
return this.client.util.handleError(error, message, this); return this.client.util.handleError(error, message, this);
} }