3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-20 16:25:03 +00:00

Add ucfirst as an alias for tag function upperFirst

This commit is contained in:
Dragory 2021-05-06 21:27:05 +03:00
parent 5f6df19be1
commit 1803f1d242

View file

@ -320,6 +320,9 @@ const baseValues = {
if (typeof arg !== "string") return arg;
return arg.charAt(0).toUpperCase() + arg.slice(1);
},
ucfirst(arg) {
return baseValues.upperFirst(arg);
},
rand(from, to, seed = null) {
if (isNaN(from)) return 0;