From a283542048cdb8b358002405258c6b3fdc384d72 Mon Sep 17 00:00:00 2001 From: Bsian Date: Tue, 26 Nov 2019 08:24:24 +0000 Subject: [PATCH] What the fuck is wrong with returning? Aint no need for another unnecessary line --- src/commands/deleteaccount.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/commands/deleteaccount.ts b/src/commands/deleteaccount.ts index 7254235..e620d3e 100644 --- a/src/commands/deleteaccount.ts +++ b/src/commands/deleteaccount.ts @@ -1,4 +1,3 @@ -/* eslint-disable consistent-return */ import { Message, PrivateChannel } from 'eris'; import uuid from 'uuid/v4'; import { Command } from '../class'; @@ -57,7 +56,7 @@ export default class DeleteAccount extends Command { `, }); - deleting.edit(`${this.client.stores.emojis.success} ***Account ${username} has been deleted by Engineer ${message.author.username}#${message.author.discriminator}***`); + return 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); }