Better code

merge-requests/1/merge
Bsian 2019-10-22 01:20:11 +01:00
parent 22bd0f5a42
commit e1d7237bce
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 1 additions and 3 deletions

View File

@ -44,9 +44,7 @@ export default class Eval extends Command {
}
}
return display.forEach((m) => {
message.channel.createMessage(`\`\`\`js\n${m}\n\`\`\``);
});
return display.forEach((m) => message.channel.createMessage(`\`\`\`js\n${m}\n\`\`\``));
} catch (error) {
return this.client.util.handleError(error, message, this);
}