53 Commits

Author SHA1 Message Date
MARCROCK22
5926b4df15
feat(WorkerManager): resharding support (#271)
* feat: workerManager resharder

* fix: changes
2024-10-05 19:01:37 -04:00
9f54a8df9c fix: zombie connection 2024-09-30 02:23:36 +00: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
ee135a2667 fix: typescript 5.6 2024-09-15 20:13:14 +00:00
3245291121 fix: actually using biome 2024-09-15 19:02:13 +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
Marcos Susaña
0cef3a9f6f
fix(Watcher): partial types 2024-09-02 18:01:34 -04:00
3f6698eba6 fix: share ws ratelimit 2024-09-02 00:51:34 +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
5c19e4df67 fix(biome): lmao 2024-08-25 21:41:48 +00:00
3fb57ccc79 fix(socket): use socket.writable to check if its safe to send a message 2024-08-25 21:40:32 +00:00
9b2393f001 fix(socket): unfinished object 2024-08-25 19:12:36 +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
a98306fd72 fix: biome lol 2024-08-24 06:31:40 +00:00
MARCROCK22
8c4a13264e
fix: socket (#253)
* fix: socket

* fix: name

* fix: use logger and debugger
2024-08-24 02:26:09 -04:00
3da0dc1144 fix: socket 2024-08-20 00:07:09 +00:00
07340a98bb feat: slipher 2024-08-17 02:36:27 +00:00
9066f510e3 fix: ws reconnect 2024-08-11 23:43:33 +00:00
983043f9c3 fix: temporally using ws 2024-08-09 16:18:27 +00:00
ef4f487257 fix: zlib 2024-08-03 00:59:21 +00:00
2c69e1cb41 fix: unused properties 2024-08-03 00:06:44 +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
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
Marcos Susaña
07a1b64025
fix: xd 2024-07-09 20:05:38 -04:00
4de43ea36c feat: workerManager & workerclient adapter 2024-07-02 01:59:46 +00:00
David
f05ba46b3a
feat: support .cjs, .mjs, .ts, .mts and .cts extensions in seyfert.config file (#214)
* refactor: update import statement in sharder.ts

* feat: support .mjs and .ts extensions in seyfert.config file

* feat: support .cts, .mts and .cjs extensions in seyfert.config
2024-06-26 19:00:00 -04:00
1cb4ab4a46 fix: mergeOptions & types 2024-06-22 01:09:12 +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
David
017ccfc3bf
fix: github actions (#210)
* fix: github actions

* fix: pnpm version

* fix: github actions checkout

* fix: brackets in failure function

* fix: github actions

* fix: github actions

* fix: github actions

* fix: github actions

* fix: github actions

* fix: github actions

* fix: github actions

* fix: github actions

* chore: apply formatting

* fix: github actions

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-14 14:23:58 -04:00
5338248ff8 feat: shard#ping method 2024-05-30 18:54:51 +00:00
Marcos Susaña
c409628a43
chore: updates (#195) 2024-05-28 09:19:35 -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
a8380bf07d fix: use replaceAll instead 2024-04-24 19:32:28 -04:00
MARCROCK22
f91968caef fix: promises 2024-04-07 16:57:54 -04:00
MARCROCK22
2cfb4b951b feat: ignore property when declaring command & flush method 2024-04-07 16:48:19 -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
aefae40527 fix: typo 2024-03-28 21:16:15 -04:00
MARCROCK22
71a145612d feat: update exports 2024-03-27 23:10:19 -04:00
MARCROCK22
39b6334f7e feat: add DiscordDark and DIscordLight to EmbedColors enum 2024-03-26 20:27:08 -04:00
MARCROCK22
751568fb59 fix: send identify properties 2024-03-23 22:26:05 -04:00
Marcos Susaña
f58be61f98 breaking?: shorters methods 2024-03-17 22:15:18 -04:00
MARCROCK22
e63264bdf1 clusters 2024-03-16 15:14:57 -04:00
MARCROCK22
f2d611028a yes 2024-03-15 17:45:57 -04:00
MARCROCK22
d8dd63170a fix shardStart & shardEnd 2024-03-15 17:39:24 -04:00
MARCROCK22
5f8d71fc3f fix calculateWorkerId 2024-03-13 21:42:03 -04:00
MARCROCK22
d34d45604f tellWorker 2024-03-13 17:55:47 -04:00
MARCROCK22
08188e3592 workerProxy implemented 2024-03-13 16:30:03 -04:00