feat(archives): update transcript template

so it can actually be parsed as markdown if wanted
This commit is contained in:
Isaac
2022-10-24 23:53:42 +01:00
parent 353b232dcd
commit 066eb954e3
3 changed files with 31 additions and 27 deletions

View File

@@ -51,7 +51,7 @@ module.exports = class TranscriptSlashCommand extends SlashCommand {
Mustache.escape = text => text; // don't HTML-escape
this.template = fs.readFileSync(
join('./user/templates/', this.client.config.templates.transcript),
join('./user/templates/', this.client.config.templates.transcript + '.mustache'),
{ encoding: 'utf8' },
);
}