From 015f72d0ff833c70154eaf270a4fa69c14d99e77 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sun, 29 Jan 2023 13:00:48 +0100 Subject: [PATCH] Fix string interpolation --- src/Postbuilder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Postbuilder.ts b/src/Postbuilder.ts index bf26056..c862025 100644 --- a/src/Postbuilder.ts +++ b/src/Postbuilder.ts @@ -257,7 +257,7 @@ export class Postbuilder { } } if (etymologyContributors.length <= 4) { - message = Utils.commasAnd(etymologyContributors.map(c => c.username)) + " contributed with ${theme}" + message = `${Utils.commasAnd(etymologyContributors.map(c => c.username))} contributed with ${theme}` } else { message = `${etymologyContributors.slice(0, 3).map(c => c.username).join(", ")} and ${etymologyContributors.length - 3} others contributed with thematic map ${theme}`