htmlescaping the cmd description is for losers

This commit is contained in:
murm 2023-03-18 20:03:03 -04:00
parent 9be36e7199
commit b56a000a40

View file

@ -16,7 +16,7 @@ class HelpCommand extends Command {
const info = collections.info.get(command); const info = collections.info.get(command);
// TODO: room-specific prefix // TODO: room-specific prefix
const prefix = htmlescape(process.env.PREFIX); const prefix = htmlescape(process.env.PREFIX);
html = `<h3><ins>mrmBot Help</ins></h3><h6><code>${prefix}${command}</code></h6>${htmlescape(info.description)}` html = `<h3><ins>mrmBot Help</ins></h3><h6><code>${prefix}${command}</code></h6>${info.description}`
return { html: html } return { html: html }
} }
if (help.categories[this.args[0].toLowerCase()]) { if (help.categories[this.args[0].toLowerCase()]) {