From a29e6f6f7c533f0b929e5dc5bd989043b6024071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Raiti?= <46955459+Secreto31126@users.noreply.github.com> Date: Thu, 29 Feb 2024 03:06:05 -0300 Subject: [PATCH] Update types.ts --- src/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types.ts b/src/types.ts index 91e4bad6..6757e589 100644 --- a/src/types.ts +++ b/src/types.ts @@ -180,6 +180,7 @@ export abstract class ClientLimitedMessageComponent { * @param c - The component name * @param a - The array to check the length of * @param n - The maximum length + * @throws `${p} can't have more than ${n} ${c}` */ constructor(p: string, c: string, a: Array, n: N) { if (a.length > n) {