mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
alias get_snowflake
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
13565e2a7a
commit
032e552f6c
1 changed files with 5 additions and 0 deletions
|
@ -557,6 +557,11 @@ const baseValues = {
|
|||
if (!str || typeof str !== "string") return "";
|
||||
return str.replaceAll(/[^\d]+/g, "");
|
||||
},
|
||||
get_snowflake(str) {
|
||||
// couldn't find a better way of aliasing :(
|
||||
if (!str || typeof str !== "string") return "";
|
||||
return str.replaceAll(/[^\d]+/g, "");
|
||||
},
|
||||
convert_base(value, from, to) {
|
||||
try {
|
||||
// :joy:
|
||||
|
|
Loading…
Add table
Reference in a new issue