Change string to template literal (previously missed)

This commit is contained in:
Clarence Chan committed 2024-05-28 13:11:43 -04:00
1 parent bd0e29b4e4
commit db66377dde
1 file changed
+3 -4
+3 -4
View File
@@ -44,10 +44,9 @@ async function createICS() {
if (event.fightCard.length) if (event.fightCard.length)
description = `${event.fightCard.join("\n")}\n`; description = `${event.fightCard.join("\n")}\n`;
if (event.mainCard.length) if (event.mainCard.length)
description += description += `Main Card\n--------------------\n${event.mainCard.join(
"Main Card\n--------------------\n" + "\n"
event.mainCard.join("\n") + )}\n`;
"\n";
if (event.prelims.length) { if (event.prelims.length) {
description += "\nPrelims"; description += "\nPrelims";
if (event.prelimsTime) { if (event.prelimsTime) {