61 Commits

Author SHA1 Message Date
329c8e297c feat: client.latency 2024-12-13 22:15:40 -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
7e55ba9e3c fix: types 2024-11-17 19:04:30 -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
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
751f9cedb2 feat: makeDeepPartial type 2024-09-09 02:49:16 +00:00
3374252a36 fix: resharder 2024-09-09 02:29:57 +00:00
364148ccf7 fix: unused 2024-09-07 22:29:06 +00:00
Marcos Susaña
0cef3a9f6f
fix(Watcher): partial types 2024-09-02 18:01:34 -04: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
fc4c7ef3da fix(cache): actually disabling onPacket cache 2024-08-26 01:58:49 +00: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
98c755dac7 fix: botReady emits twice 2024-08-17 18:52:07 +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
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
Xeno
390953082b
feat: guild bans, formatter and minor functionality changes. (#203)
* fix(Colors#bold): bold returning weird values

* chore: testing something

* fix(Parsers): optionsParser & argsParser were being overriden by default options

* revert(colors): mistakenly pushed a unplanned change

* feat(Formatter): add a formatter class to add support to discord markdown, unix and etc

* chore: set exports for formatter class

* feat(AllGuildVoiceChannels): new type for all guild based voice channels

* feat(VoiceChannel#members): returns a list of members in the voice channel

* chore: small patch to voice channel methods

* feat(GuildBans): addition of bans into seyfert

* chore: request changes - incomplete

* fix(BanShorter#bulkCreate): fix method return, bulk-bans returns stats

* feat(GuildBan#methods): all methods added on the guild ban structure

* chore: missed some, here pushed them

* chore: requested change

---------

Co-authored-by: NotAditya69 <90441096+NotAditya69@users.noreply.github.com>
2024-06-10 04:18:54 -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
Xeno
ac0d09d77a
Parsers overridden during client initialization making external parsers from not working. (#200)
* fix(Colors#bold): bold returning weird values

* chore: testing something

* fix(Parsers): optionsParser & argsParser were being overriden by default options

* revert(colors): mistakenly pushed a unplanned change

---------

Co-authored-by: NotAditya69 <90441096+NotAditya69@users.noreply.github.com>
2024-06-03 15:09:54 -04:00
2737b8f426 feat: optionsParser option 2024-06-02 20:21:18 +00:00
c8d2500892 fix: raw event 2024-06-01 20:17:47 +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
48bf52a269 feat: collectors 2024-05-25 13:27:53 -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
b44e7d456a fix: slice message content argsParser 2024-05-11 15:31:09 -04:00
MARCROCK22
d72d6c0844 fix: workerData is nullable 2024-05-08 22:17:30 -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
a709198f15 feat: default commands methods 2024-04-14 16:49:23 -04:00
MARCROCK22
9724d3eb9f feat: handlers update 2024-04-12 17:28:35 -04:00
MARCROCK22
33165faf95 feat: message commands aliases 2024-04-08 22:18:28 -04:00