allows newlines

This commit is contained in:
Flummi
2018-02-14 00:33:00 +01:00
parent 89cda0e25c
commit f6fc8d37d0
2 changed files with 14 additions and 5 deletions

View File

@ -4,8 +4,7 @@ export default bot => {
f: e => {
if(e.args[0] && [...bot._trigger.keys()].includes(e.args[0])) {
const help = bot._trigger.get(e.args[0]).help;
e.reply(help.text);
e.reply(`usage: ${help.usage}`);
e.reply(`${help.text}\nusage: ${help.usage}`);
}
else {
let triggers = [];