forked from engineering/cloudservices
Better code
parent
22bd0f5a42
commit
e1d7237bce
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue