10 Commits

Author SHA1 Message Date
e3b6f57741
chore: 3.1.0 (#339)
* perf: optimize members cache

* feat: components V2 (#337)

* feat: components v2

* fix: build

* chore: apply formatting

* refactor(components): some types

* refactor(types): replace TopLevelComponents with APITopLevelComponent in REST

* fix: unify components

* refactor(TextDisplay): rename content method to setContent for clarity

* refactor(builders): add missing builder from component

* fix: touche

* feat(webhook): webhook params for components v2

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix: use protected instead of private

* fix(editOrReply): accept flags when editing message

* feat: add onBeforeMiddlewares and onBeforeOptions (#338)

* chore: package version

---------

Co-authored-by: MARCROCK22 <marcos22dev@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MARCROCK22 <57925328+MARCROCK22@users.noreply.github.com>
2025-04-27 01:21:56 -04:00
e41711770c fix: check customId before filter 2025-02-17 21:47:23 -04:00
f74f29e96a
feat: Make Component#filter optional and add customId pass (#330)
* feat: enhance ComponentCommand and ModalCommand with optional customId and filter methods

* fix: lol

* fix: simplify conditional checks for customId in ComponentHandler

* fix: optional chain goes brrr

* feat: rework?
2025-02-17 20:43:09 -04:00
a355d843ad chore: organize imports 2024-09-15 19:52:43 +00:00
Marcos Susaña
bd951397a2
feat: Reduce dependencies (#221)
* feat: add support for new Discord application emojis features

* feat: add support for new Discord application emojis features

* feat: applications emojis routes

* chore: switch typings provider

* fix: unnecesary type

* feat: magic bytes

* chore: move api-types

* chore: ?

* fix: omg npm

* chore: apply formatting

* fix: for fast merge

---------

Co-authored-by: Tony Supremacy <165050835+VanStk@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-21 22:58:40 -04:00
eef42a9a9f fix: actually fix default props in components 2024-06-06 17:36:29 +00:00
f3b8e3b67d feat: extraProps 2024-06-06 01:57:26 +00:00
MARCROCK22
69867d22ca feat: componentcommand & modalcommand default methods 2024-05-10 23:29:29 -04:00
MARCROCK22
92c39b91c4 fix: "bro y todo ese codigo repetido" 2024-05-10 21:02:25 -04:00
MARCROCK22
23422cadfa feat: componentcommand and modalcommand now can use middlewares 2024-05-10 17:26:16 -04:00