129 Commits

Author SHA1 Message Date
92ab65be7b feat: make deferReplyResponse and reply awaitable 2025-05-08 21:09:15 -04:00
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
2cf182f37e
feat: fetch guilds with query (#336)
* feat: fetch guilds with query

* fix: ig

* fix: xdddd

* fix: lol
2025-03-12 20:02:31 -04:00
80b9edf512 fix: return cache types 2025-01-23 22:12:00 -04:00
JustEvil
d779c95514
fix: esto lo hago (#323)
* fix: esto lo hago

* fix: por los momos
2025-01-20 19:21:37 -06:00
cb7dacc7a7 feat: change force to rest,flow,cache 2025-01-19 14:44:33 -04:00
3c216c2a06 fix: use CommandOptionWithType instead 2025-01-06 01:08:39 -04:00
3ed0c8f293 fix: resolve bitfield correctly 2025-01-05 15:23:41 -04:00
250346fe1d fix: transformers types 2024-12-30 20:13:20 -04:00
aa7be2aa71 fix: xd? 2024-12-30 20:04:31 -04:00
Marcos Susaña
ff55a78793
feat: add AnyContext.followup (#318)
* fix: return support node18

* feat: support AnyContext.followup
2024-12-30 04:00:54 -04:00
404f23f76e fix: transformers types 2024-12-27 11:08:01 -04:00
MARCROCK22
00d5dcdaa7
fix: remove deprecated things & decoration route & interaction type (#314)
* fix: remove deprecated things & decoration route & interaction type

* fix: meh
2024-12-26 15:58:00 -06:00
31af4675a3 fix: free code 2024-12-25 20:01:35 -04:00
Free 公園
85f77f963d
change cache to flow as default in types (#309)
* change cache to flow as default in types

* chore: apply formatting

* flow

* chore: apply formatting

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MARCROCK22 <57925328+MARCROCK22@users.noreply.github.com>
2024-12-23 14:04:22 -04:00
7450d5d72f fix: transformers types 2024-12-21 22:47:38 -04:00
bad33536b9 fix: clean code 2024-12-10 13:10:34 -04:00
a88eab48b2 fix: dont use never 2024-12-06 22:46:59 -04:00
2d29f011ab fix: number options 2024-11-24 00:03:35 -04:00
be68bd45a1 fix: parse subcommands locales 2024-11-23 20:18:59 -04:00
MARCROCK22
442752319c
feat: custom worker events (#298)
* chore: apply formatting

* feat: custom worker events

* fix: xd

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-20 12:06:23 -04:00
7e55ba9e3c fix: types 2024-11-17 19:04:30 -04:00
MARCROCK22
961bff0e27
feat: allow interaction server for all clients (#295)
* fix: default callbacks & cache update

* feat: allow interaction server for all clients
2024-11-14 16:37:29 -05:00
MARCROCK22
7f4044469b
fix: default callbacks & cache update (#294) 2024-11-14 13:45:14 -04:00
e4233e6a40 fix: types & workerClient#resumeShard 2024-11-10 21:51:28 +00:00
JustEvil
6c31dc0301
feat: add ignore command logic to shouldUpload method (#292) 2024-11-07 12:45:10 -04:00
Marcos Susaña
136262f989
feat(Contexts): inGuild type guard (#290)
* feat(Contexts): inGuild type guard

* feat: isEntry
2024-11-06 14:31:56 -06:00
MARCROCK22
fb26e0e42e
feat: Improve options type (#291)
* feat: improve options type

* chore: dependencies version
2024-11-06 01:21:36 -04:00
MARCROCK22
db9e319545
feat: voiceStateShorter (#286) 2024-11-03 07:05:25 -04:00
d3dee668b5 fix: appPermissions is not optional 2024-10-29 03:27:31 +00:00
c6a2b955b1 fix: handle correctly options 2024-10-26 22:27:01 +00:00
MARCROCK22
00c96e6c54
feat: allow to extend RC and localized choices (#283) 2024-10-25 10:05:42 -05:00
3efe66bf5e feat: workerManager#tellWorker 2024-10-19 05:42:13 +00:00
MARCROCK22
56246ed5cf
onRatelimit callback & GuildCommandContext types(unnreaal update) (#279)
* feat: type GuildCommandContext, onRatelimit callback

* fix: test

* fix: use reduce
2024-10-13 21:48:20 -04:00
329ce54943 fix: required options 2024-10-13 21:33:02 +00:00
MARCROCK22
b059fa14b3
feat: option.value typing with choices (#278) 2024-10-13 14:50:57 -04:00
MARCROCK22
4a0a9ae130
fix: only edit when deferred (#276)
* fix: only edit when deferred

* fix: internal type
2024-10-12 14:28:32 -04:00
6412609e0e fix: add tests to PermissionsBitField 2024-10-06 14:33:03 +00:00
Marcos Susaña
24d316f070
feat(context): auto remove thinking when use message commands (#270) 2024-10-04 11:06:42 -06:00
Marcos Susaña
71cab8721e
Overwritting permissions for child commands (#269) 2024-10-02 18:16:16 -04:00
MARCROCK22
13b8a32d42
fix rest types, collectors update, improve types (#266)
* feat: ctx types, delete threads cache, cache.channels.threads, changes to collectors, fix rest types

* fix: use apithreadchannel instead

* feat: revert threads relationship, fix collectors

* fix: cache thread when creating

* fix: unused

* feat: entitlement trasnformer

* fix: non-null assertion

* fix: circular?

* fix: collector onStop reason type

* fix: types

* feat: onPass method

* fix: undefined value
2024-09-27 22:08:50 -05:00
Free 公園
455ed12b0e
chore: early conditional on check permissions (#265)
* chore: early conditional

* fix: logic

Co-authored-by: Marcos Susaña <marcosjgs03@gmail.com>

---------

Co-authored-by: Marcos Susaña <marcosjgs03@gmail.com>
2024-09-20 14:04:15 -06:00
6395dd5938 fix: use .raw instead of .listRaw 2024-09-20 00:12:54 +00:00
830e9fbf5a fix: checkPermissions 2024-09-20 00:11:01 +00:00
Marcos Susaña
85b1b93131
fix(handle): checkPermissions bypass channels outside guilds 2024-09-19 16:21:35 -04:00
d388cb5553 fix: types 2024-09-15 23:51:38 +00:00
f288292208 fix: types 2024-09-15 23:33:37 +00:00
a355d843ad chore: organize imports 2024-09-15 19:52:43 +00:00
3245291121 fix: actually using biome 2024-09-15 19:02:13 +00:00
d8bf40b60c fix: only push error when option is required 2024-09-12 00:55:44 +00:00