mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-03 00:41:27 +03:00
feat(archives): update transcript template
so it can actually be parsed as markdown if wanted
This commit is contained in:
@@ -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' },
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user