3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-06 18:47:20 +00:00

Update templateFunctions.ts

changed the optional argument in for tag from 123 to "Hello World"

fixed typo
This commit is contained in:
Ruko 2023-05-21 17:48:08 +02:00 committed by GitHub
parent 512630fbae
commit c2b2434c28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"],