mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-20 16:25:03 +00:00
Add lower function
This commit is contained in:
parent
edd78fc9c6
commit
bb06c5ee33
1 changed files with 4 additions and 0 deletions
|
@ -308,6 +308,10 @@ const baseValues = {
|
|||
if (end != null && isNaN(end)) return "";
|
||||
return arg1.slice(parseInt(start, 10), end && parseInt(end, 10));
|
||||
},
|
||||
lower(arg) {
|
||||
if (typeof arg !== "string") return arg;
|
||||
return arg.toLowerCase();
|
||||
},
|
||||
rand(from, to, seed = null) {
|
||||
if (isNaN(from)) return 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue