1
0
Fork 0

fixes to dacc

refactor/models
Matthew 2020-09-10 23:44:03 -04:00
parent 257174f43d
commit 01f6a04372
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export default class DeleteAccount extends Command {
if (reason) logInput.reason = reason;
await this.client.util.createModerationLog(args[0], message.member, 4, reason);
await this.client.util.deleteAccount(username);
message.delete();
await message.delete().catch(() => {});
this.client.util.transport.sendMail({
to: account.emailAddress,