From 24db3a251308b114f1bc927412b906c264cc78c8 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Mon, 25 Nov 2019 21:06:01 -0500 Subject: [PATCH] msg editing --- src/commands/deleteaccount.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/deleteaccount.ts b/src/commands/deleteaccount.ts index eb58625..7254235 100644 --- a/src/commands/deleteaccount.ts +++ b/src/commands/deleteaccount.ts @@ -1,3 +1,4 @@ +/* eslint-disable consistent-return */ import { Message, PrivateChannel } from 'eris'; import uuid from 'uuid/v4'; import { Command } from '../class'; @@ -56,8 +57,7 @@ export default class DeleteAccount extends Command { `, }); - this.client.guilds.get('446067825673633794').members.get(account.userID).removeRole('546457886440685578', `Account was deleted by ${message.author.username}.`); - return deleting.edit(`${this.client.stores.emojis.success} ***Account ${username} has been deleted by Engineer ${message.author.username}#${message.author.discriminator}***`); + deleting.edit(`${this.client.stores.emojis.success} ***Account ${username} has been deleted by Engineer ${message.author.username}#${message.author.discriminator}***`); } catch (error) { return this.client.util.handleError(error, message, this); }