forked from engineering/cloudservices
fixes to dacc
parent
257174f43d
commit
01f6a04372
|
@ -40,7 +40,7 @@ export default class DeleteAccount extends Command {
|
||||||
if (reason) logInput.reason = reason;
|
if (reason) logInput.reason = reason;
|
||||||
await this.client.util.createModerationLog(args[0], message.member, 4, reason);
|
await this.client.util.createModerationLog(args[0], message.member, 4, reason);
|
||||||
await this.client.util.deleteAccount(username);
|
await this.client.util.deleteAccount(username);
|
||||||
message.delete();
|
await message.delete().catch(() => {});
|
||||||
|
|
||||||
this.client.util.transport.sendMail({
|
this.client.util.transport.sendMail({
|
||||||
to: account.emailAddress,
|
to: account.emailAddress,
|
||||||
|
|
Loading…
Reference in New Issue