From c2b2434c285551ef2fa62362c7b6e1b811aab7bb Mon Sep 17 00:00:00 2001 From: Ruko <92655412+rukogit@users.noreply.github.com> Date: Sun, 21 May 2023 17:48:08 +0200 Subject: [PATCH] Update templateFunctions.ts changed the optional argument in for tag from 123 to "Hello World" fixed typo --- backend/src/plugins/Tags/templateFunctions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/plugins/Tags/templateFunctions.ts b/backend/src/plugins/Tags/templateFunctions.ts index d1f361a2..273ac1ae 100644 --- a/backend/src/plugins/Tags/templateFunctions.ts +++ b/backend/src/plugins/Tags/templateFunctions.ts @@ -175,10 +175,10 @@ export const TemplateFunctions: TemplateFunction[] = [ description: "Returns the return value of an existing tag.", returnValue: "any", arguments: ["tagName", "optionalArgs"], - examples: ['tag("tagName", 123)'], + examples: ['tag("tagName", "Hello World")'], }, { - name: "mentions", + name: "mention", description: "Converts a user-id into a mention.", returnValue: "string", arguments: ["user-id"],