mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 05:26:07 +00:00
Merge pull request #177 from Mateo-tem/main
fix: modal example and readme wording
This commit is contained in:
commit
4221d5995b
@ -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.
|
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?
|
## 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 reasons to use Seyfert, but we cannot put them all in here so there is a few of them!
|
||||||
|
|
||||||
- **RAM Saver**
|
- **RAM Saver**
|
||||||
- **Latest features**
|
- **Latest features**
|
||||||
|
@ -17,7 +17,10 @@ import type { ModalBuilderComponents, ModalSubmitCallback } from './types';
|
|||||||
* @example
|
* @example
|
||||||
* const modal = new Modal();
|
* const modal = new Modal();
|
||||||
* modal.setTitle("Sample 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) => {
|
* modal.run((interaction) => {
|
||||||
* // Handle modal submission
|
* // Handle modal submission
|
||||||
* });
|
* });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user