58 Commits

Author SHA1 Message Date
veryCrunchy
ce86aa78ff
fix: deno environment variable support (#316)
* fix: deno environment variable support

* fix: avoid unnecessary string construction
2024-12-28 01:00:05 -04:00
5fe109527d fix: resharder 2024-12-13 09:27:29 -04:00
MARCROCK22
c014ce6dc1
fix: gateway events (#305)
* fix: gateway events

* fix: oops

* fix: num of shards

* fix: xd

* fix: ok discord

* fix: worker_ready event

* fix: types & use message cache

* fix: resharding
2024-12-12 23:46:20 -04:00
bad33536b9 fix: clean code 2024-12-10 13:10:34 -04:00
Marcos Susaña
4bad71399a
[skip ci] bot up (#304)
* Add a bot startup (bro scared of circulars) (#303)

* fix(channels): correct return type of mixin functions

* feat: startup bot in test

* fix: build

* fix: ?

* fix: ??

* ci(bot-up): update conditional
2024-12-10 09:24:00 -04:00
c68c091b31 feat: improve channel types & fix overwrites cache 2024-12-09 13:28:44 -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
53e99d5217 fix(workerProxy): files support 2024-11-16 13:13:30 -04:00
MARCROCK22
a3b28d9f7d
chore: remove WorkerAdapter (#296)
* chore: dont set WorkerAdapter by default

* fix: set postMessage
2024-11-14 17:57:36 -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
MARCROCK22
00c96e6c54
feat: allow to extend RC and localized choices (#283) 2024-10-25 10:05:42 -05:00
ddb320c428 feat: componentContext#deferUpdate 2024-10-21 01:20:39 +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
5926b4df15
feat(WorkerManager): resharding support (#271)
* feat: workerManager resharder

* fix: changes
2024-10-05 19:01:37 -04:00
3245291121 fix: actually using biome 2024-09-15 19:02:13 +00:00
364148ccf7 fix: unused 2024-09-07 22:29:06 +00:00
fc4c7ef3da fix(cache): actually disabling onPacket cache 2024-08-26 01:58:49 +00:00
MARCROCK22
633b19c382
feat: queue to spawn workers (#255)
* feat: queue to spawn workers

* fix: using optional chaining
2024-08-25 14:14:41 -04:00
Marcos Susaña
498c66efdb
feat(Guild): get shard methods (#254)
* feat: guild shard

* fix: worker client

* fix: xd
2024-08-25 01:18:39 -04:00
11fa0bb6d4 fix: botReady guild unavailable bug 2024-08-21 00:47:35 +00:00
MARCROCK22
b0e10fd4a9
feat: use an object instead of an array to disable cache & option to disable cache on events (#245) 2024-08-19 22:03:52 -04:00
07340a98bb feat: slipher 2024-08-17 02:36:27 +00:00
f3ba75155d fix: collectors 2024-08-03 23:59:52 +00:00
449be8ea38 fix: cache 2024-08-03 03:56:14 +00:00
MARCROCK22
34216bd066
feat: new ws & member's banner (#232)
* feat: new ws & member's banner

* fix: comments
2024-08-01 22:45:13 -05:00
Fabrizio Santana
91bf30e4b3
Fixes (#231)
* fix: event handling in client.ts and workerclient.ts

* fix: optional
2024-08-01 21:54:23 -04:00
Fabrizio Santana
aeae6f0e37
fix: event handling in client.ts and workerclient.ts (#230) 2024-08-01 21:34:12 -04: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
4de43ea36c feat: workerManager & workerclient adapter 2024-07-02 01:59:46 +00:00
Marcos Susaña
026805bcb2
Seyfert 2.0 (#208)
* feat: permissible handlers

Co-authored-by: MARCROCK22 <MARCROCK22@users.noreply.github.com>

* feat: init handle command

* feat: unifique interaction/message (not full tested)

* fix: await

* fix: components handler

* fix: console.log

* feat: init transformers

* fix: xd

* fix: check

* chore: apply formatting

* chore: frozen-lockfile

* fix: use pnpm v9

* fix: use pnpm v9

* fix: guildCreate emits when bot has more than 1 shard

* feat: update cache adapter

* fix: types

* fix: limitedAdapter messages and bans support

* fix: yes

* feat: transformers (huge update)

* fix: pnpm

* feat: transformers & handleCommand methods

* feat(resolveCommandFromContent): for handle content of getCommandFrom Content and argsContent

* fix: use raw

* fix: consistency

* fix: return await

* chore: export transformers

* fix: socram code

* fix: handleCommand & types

* fix: events

---------

Co-authored-by: MARCROCK22 <MARCROCK22@users.noreply.github.com>
Co-authored-by: MARCROCK22 <marcos22dev@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: douglas546899 <douglas546899@gmail.com>
Co-authored-by: Aarón Rafael <69669283+Chewawi@users.noreply.github.com>
Co-authored-by: MARCROCK22 <57925328+MARCROCK22@users.noreply.github.com>
2024-06-20 20:59:55 -04:00
f061dccf3f fix: gateway properties 2024-06-06 20:07:50 +00:00
3c1465c0ee fix: guildCreate cache 2024-06-06 18:15:45 +00:00
db6134cf95 fix: guildCreate event 2024-06-05 23:34:24 +00:00
7e30f4ba78 fix: defaultParsers in WorkerClient 2024-06-03 19:47:39 +00:00
0da67319f3 fix: cache flow 2024-06-01 20:14:40 +00:00
Marcos Susaña
c409628a43
chore: updates (#195) 2024-05-28 09:19:35 -04:00
MARCROCK22
04e5146ac5 fix: workerclient lmao 2024-05-25 13:30:58 -04:00
MARCROCK22
006a9f390f feat: send attachments option by default 2024-05-25 13:18:43 -04:00
MARCROCK22
2fe113086e feat: before and after state 2024-05-11 23:29:28 -04:00
MARCROCK22
3b2cbd3089
Feat: cloudfare workers support (#190)
* feat: cloudfare workers

* fix: chokidar

* fix: handlers

* fix: lazyLoadPackage
2024-05-07 16:53:10 -04:00
MARCROCK22
2f1b6e4b8f feat: use message cache in events 2024-04-22 19:41:46 -04:00
MARCROCK22
a96db12337 fix: client onPacket 2024-04-22 19:00:33 -04:00
MARCROCK22
9724d3eb9f feat: handlers update 2024-04-12 17:28:35 -04:00
MARCROCK22
f91968caef fix: promises 2024-04-07 16:57:54 -04:00
MARCROCK22
b9117f5524 fix: ws priority 2024-04-01 21:59:50 -04:00
MARCROCK22
206b3dfe63 fix: dynamicbucket queue 2024-04-01 18:04:50 -04:00
MARCROCK22
71a145612d feat: update exports 2024-03-27 23:10:19 -04:00
MARCROCK22
9b40239b55 feat: experimental custom handlers 2024-03-26 14:39:04 -04:00