1213 Commits

Author SHA1 Message Date
b1e66f05dc chore: perfomance 2024-10-26 21:26:35 +00:00
7591c11446 feat: cacheResource.flush 2024-10-26 16:17:43 +00:00
4f8c1d09c7 fix: use interface instead of intersection 2024-10-26 00:30:25 +00:00
MARCROCK22
00c96e6c54
feat: allow to extend RC and localized choices (#283) 2024-10-25 10:05:42 -05:00
Free 公園
4e6bf3b8bd
fix: embeds optional parameters (#281)
* fix: embeds optional parameters
2024-10-22 10:08:30 -06:00
ddb320c428 feat: componentContext#deferUpdate 2024-10-21 01:20:39 +00:00
cf50543ff4 feat: type idle and timeout reason 2024-10-19 19:08:31 +00:00
46f14f3c1a chore: missing permission 2024-10-19 06:09:43 +00:00
237620569e chore: provenance 2024-10-19 06:08:02 +00:00
3efe66bf5e feat: workerManager#tellWorker 2024-10-19 05:42:13 +00:00
MARCROCK22
70b1bc1dc5
fix: use an array instead of a Set (#280) 2024-10-17 12:10:16 -04: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
424970494b feat: logger#customizeFilename 2024-10-13 23:30:35 +00:00
Marcos Susaña
76501ef9a6
chore: update dependencies 2024-10-13 17:56:07 -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
517b940bfe chore: publish_dev action 2024-10-13 01:59:24 +00:00
Marcos Susaña
fc9339c2fa
fix(types): sounds update 2024-10-12 21:32:40 -04:00
MARCROCK22
20b68bf97e
fix: rawFile supports arrayBuffer (#277) 2024-10-12 20:12:46 -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
Marcos Susaña
4dd69aeb14
ci(test): change to vitest (#275)
* ci(test): change to vitest

* fix: mts tests
2024-10-10 21:02:55 -04:00
Free 公園
27d2fa000c
Fix embed init data object reference (#274)
* fix: avoid embed use initial object ref

* chore: use spread operator instead
2024-10-07 22:31:54 -06:00
Mohtasim Alam Sohom
2912296d96
refactor: optimize the resolveColor function for better perfomance (#273)
* refactor: optimize the resolveColor function for better perfomance

* refactor: optimize the resolveColor function even further for higher number of iterations

* format: fix code formatting

* just use if(lookupColor)
2024-10-06 17:23:53 -04:00
6412609e0e fix: add tests to PermissionsBitField 2024-10-06 14:33:03 +00:00
a09b2ff982 fix: limitedMemoryAdapter#bulkGet 2024-10-06 13:46:13 +00:00
c6e0a8fc85 fix: socram code 2024-10-06 13:37:13 +00:00
Mohtasim Alam Sohom
4fb4861386
Reduce memory allocation in LimitedMemoryAdapter (#272)
* refactor(LimitedMemoryAdapter): optimize scan function

Reduced the memory allocation by not creating a different array to iterate. Precalculated wildcard

* refactor(LimitedMemoryAdapter): optimize ulkGet function

Optimize the ulkGet function by not creating a different array once. Used Set for faster lookups.

* refactor(LimitedMemoryAdapter): rename keys to key in the get() function
2024-10-06 09:30:59 -04:00
MARCROCK22
5926b4df15
feat(WorkerManager): resharding support (#271)
* feat: workerManager resharder

* fix: changes
2024-10-05 19:01:37 -04: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
Marcos Susaña
44c872de71
feat: Soundboard API (#267)
* feat(discord): soundboard api

* chore: apply formatting

* fix(gateway): events

* feat(events): soundboard

* chore: apply formatting

* fix: xd

* feat(api): soundboard routes

* 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-10-01 10:57:44 -06:00
9f54a8df9c fix: zombie connection 2024-09-30 02:23:36 +00:00
Free 公園
dd8fbd2789
fix: modals execution without .run (#268)
* fix: modals execution

* fix: lol
2024-09-28 11:42:47 -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
24cfd39001 fix: dont encode cache data by default 2024-09-20 03:42:22 +00: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
06617ff1ce feat: voiceState#channel type 2024-09-19 04:04:31 +00:00
d388cb5553 fix: types 2024-09-15 23:51:38 +00:00
f288292208 fix: types 2024-09-15 23:33:37 +00:00
ee135a2667 fix: typescript 5.6 2024-09-15 20:13:14 +00:00
a355d843ad chore: organize imports 2024-09-15 19:52:43 +00:00
eb19b72c0d chore: dependencies 2024-09-15 19:08:21 +00:00
3245291121 fix: actually using biome 2024-09-15 19:02:13 +00:00
David
23c23156e6
feat: improve config error message (#264) 2024-09-15 11:53:39 -04:00
fcd9ffd34d fix: reuse proxy 2024-09-15 06:00:46 +00:00
d8bf40b60c fix: only push error when option is required 2024-09-12 00:55:44 +00:00
041db86ac2 fix: send undefined instead of an empty array 2024-09-12 00:42:11 +00:00