mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-03-21 18:04:10 -05:00
Fix Discord client ID validation
This commit is contained in:
parent
4739eb1783
commit
c90a36d8d5
|
|
@ -47,7 +47,7 @@ export async function handler(argv: ArgumentsCamelCase<Arguments>) {
|
|||
warn('Invalid title ID, must be lowercase hex', title.id);
|
||||
else warn('Invalid title ID', title.id);
|
||||
}
|
||||
if (!title.client.match(/^\d{18}$/)) warn('Invalid Discord client ID', title.id, title.client);
|
||||
if (!title.client.match(/^\d{16,}$/)) warn('Invalid Discord client ID', title.id, title.client);
|
||||
|
||||
if (has_errors) continue;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user