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

Add upper function

This commit is contained in:
Usoka 2021-05-02 21:30:27 +12:00
parent bb06c5ee33
commit b1c51e7316

View file

@ -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;