UNPKG
@wilcosp/rex
Version:
latest (3.0.0-beta22feb09b)
next (3.0.0-beta23march29A)
3.0.0-beta23march29A
3.0.0-beta22feb09b
Rex is an automated command manager for discord js
gitlab.com/WilcoSp/rex-commandmanager
@wilcosp/rex
/
dist
/
cjs
/
multiUse
/
component.js
11 lines
(10 loc)
•
283 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
checkCustomId
=
void
0
;
const
zod_1 =
require
(
"zod"
);
function
checkCustomId
(
id
) { zod_1.
z
.
string
() .
regex
(
/^[\w-]{1,100}$/
) .
parse
(id); }
exports
.
checkCustomId
= checkCustomId;