1
0
Fork 0

What the fuck is wrong with returning? Aint no need for another unnecessary line

refactor/models
Bsian 2019-11-26 08:24:24 +00:00
parent 24db3a2513
commit a283542048
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
/* eslint-disable consistent-return */
import { Message, PrivateChannel } from 'eris'; import { Message, PrivateChannel } from 'eris';
import uuid from 'uuid/v4'; import uuid from 'uuid/v4';
import { Command } from '../class'; 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) { } catch (error) {
return this.client.util.handleError(error, message, this); return this.client.util.handleError(error, message, this);
} }