1187 Commits

Author SHA1 Message Date
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
751f9cedb2 feat: makeDeepPartial type 2024-09-09 02:49:16 +00:00
3374252a36 fix: resharder 2024-09-09 02:29:57 +00:00
a1b0c20a30 fix: add return 2024-09-08 03:49:13 +00:00
0c7067f751 feat: expose filter method 2024-09-07 22:35:04 +00:00
364148ccf7 fix: unused 2024-09-07 22:29:06 +00:00
7c70f362fb fix: content-type 2024-09-07 19:23:06 +00:00
2473f673bc fix: content-type 2024-09-07 18:59:26 +00:00
bcadf6022c fix: rest error message 2024-09-07 18:29:27 +00:00
MARCROCK22
ead838637c
feat: cache callback, actually disable cache when disabledCache is true (#263)
* feat: cache callback, actually disable cache when disabledCache is "true"

* fix: types
2024-09-07 13:46:42 -04:00
Marcos Susaña
8cc495a4db
chore: release 2024-09-06 22:23:08 -04:00
Marcos Susaña
baa78422ec
chore: disabled all cache 2024-09-06 22:21:42 -04:00
Marcos Susaña
3cb52086cb
feat(types): type AnyContext 2024-09-06 21:50:03 -04:00
David
00d7f75610
ci: run in pull requests (#262)
* ci: run in pull requests

* ci: try adding brackets to if

* ci: show vars

* ci: use repo name
2024-09-05 15:54:06 -06:00
David
f7c8b437e9
ci: unify github actions (#261)
i had to work hard to release this
2024-09-04 22:13:11 -04:00
Marcos Susaña
29f7b769e1
feat: polls improvement (#249)
* feat: polls improvement

* fix: poll in editOrReply

* feat(api-types): type APIEmbedPollResult

---------

Co-authored-by: MARCROCK22 <57925328+MARCROCK22@users.noreply.github.com>
2024-09-04 17:33:24 -04:00
Marcos Susaña
0cef3a9f6f
fix(Watcher): partial types 2024-09-02 18:01:34 -04:00
Marcos Susaña
e38957ca55
feat(api-types): more snapshot fields 2024-09-02 17:55:35 -04:00
3f6698eba6 fix: share ws ratelimit 2024-09-02 00:51:34 +00:00
b6d89770d1 chore: waiting for 0.0.23 release 2024-09-01 05:15:28 +00:00
4623ab492a chore: fix publish 2024-09-01 05:05:47 +00:00
7468481d4e chore: xd 2024-09-01 05:02:48 +00:00
MARCROCK22
172637307d
fix: retry_after when ratelimited (#260) 2024-09-01 01:01:31 -04:00
fa10ac8fcb chore: using v9 2024-09-01 05:00:03 +00:00
843e62df94 chore: packageManager 2024-09-01 04:57:17 +00:00
93a2ff6c33 chore: pkg.pr.new action 2024-09-01 04:55:43 +00:00
MARCROCK22
6817eb44f3
feat(ShardManger): resharding (#259)
* feat(ShardManger): resharding

* fix: xd

* fix: types

* fix: minor changes

* fix: unused interval
2024-08-31 22:17:04 -05:00