From 1020c487984692733d3baba897c0f44f439edf3f Mon Sep 17 00:00:00 2001 From: Mateo Date: Sun, 7 Apr 2024 19:01:34 -0500 Subject: [PATCH 1/2] fix: modal example and readme wording --- README.md | 2 +- src/builders/Modal.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f447363..6bcd013 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Seyfert is the ultimate Discord framework! We make easy to interact with the Discord API, big cache control, scalable code and a pretty dev experience. ## Why I should use it? -There is a lot of reasons to use Seyfert, but we cannot put them all in here so there is a few of them! +There are many to use Seyfert, but we cannot put them all in here so there is a few of them! - **RAM Saver** - **Latest features** diff --git a/src/builders/Modal.ts b/src/builders/Modal.ts index cc83739..f158d60 100644 --- a/src/builders/Modal.ts +++ b/src/builders/Modal.ts @@ -17,7 +17,10 @@ import type { ModalBuilderComponents, ModalSubmitCallback } from './types'; * @example * const modal = new Modal(); * modal.setTitle("Sample Modal"); - * modal.addComponents(new TextInput().setLabel("Enter text")); + * modal.addComponents( + * new ActionRow() + * .addComponents(new TextInput().setLabel("Enter text")) + * )); * modal.run((interaction) => { * // Handle modal submission * }); From e4fe6d76860b77b9199347a1a4c43bb9559b547b Mon Sep 17 00:00:00 2001 From: Mateo Date: Sun, 7 Apr 2024 19:02:43 -0500 Subject: [PATCH 2/2] fix: forgot reasons --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6bcd013..b7dd50b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Seyfert is the ultimate Discord framework! We make easy to interact with the Discord API, big cache control, scalable code and a pretty dev experience. ## Why I should use it? -There are many to use Seyfert, but we cannot put them all in here so there is a few of them! +There are many reasons to use Seyfert, but we cannot put them all in here so there is a few of them! - **RAM Saver** - **Latest features**