diff --git a/backend/src/templateFormatter.ts b/backend/src/templateFormatter.ts index 313a884f..7ac3428c 100644 --- a/backend/src/templateFormatter.ts +++ b/backend/src/templateFormatter.ts @@ -312,6 +312,10 @@ const baseValues = { if (typeof arg !== "string") return arg; return arg.toLowerCase(); }, + upper(arg) { + if (typeof arg !== "string") return arg; + return arg.toUpperCase(); + }, rand(from, to, seed = null) { if (isNaN(from)) return 0;