Better code
parent
22bd0f5a42
commit
e1d7237bce
|
@ -44,9 +44,7 @@ export default class Eval extends Command {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return display.forEach((m) => {
|
return display.forEach((m) => message.channel.createMessage(`\`\`\`js\n${m}\n\`\`\``));
|
||||||
message.channel.createMessage(`\`\`\`js\n${m}\n\`\`\``);
|
|
||||||
});
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return this.client.util.handleError(error, message, this);
|
return this.client.util.handleError(error, message, this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue