diff --git a/packages/helpers/src/components/ActionRow.ts b/packages/helpers/src/components/ActionRow.ts index 379c1ae..a46355b 100644 --- a/packages/helpers/src/components/ActionRow.ts +++ b/packages/helpers/src/components/ActionRow.ts @@ -3,7 +3,7 @@ import { MessageComponents, createComponent } from "../Utils"; import { BaseComponent } from "./BaseComponent"; export class MessageActionRow extends BaseComponent> { - constructor({ components, ...data }: Partial>) { + constructor({ components, ...data }: Partial> = {}) { super({ ...data, type: ComponentType.ActionRow }); this.components = (components?.map(createComponent) ?? []) as T[]; }