mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
fix: modal example and readme wording
This commit is contained in:
parent
f91968caef
commit
1020c48798
@ -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**
|
||||
|
@ -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<TextInput>()
|
||||
* .addComponents(new TextInput().setLabel("Enter text"))
|
||||
* ));
|
||||
* modal.run((interaction) => {
|
||||
* // Handle modal submission
|
||||
* });
|
||||
|
Loading…
x
Reference in New Issue
Block a user