65 Commits

Author SHA1 Message Date
db38f49ca9 chore: bump 3.2.1 2025-06-17 16:19:49 -04:00
fac07052f8 fix: lmao 2025-01-21 10:43:06 -04:00
1ea39f7abb feat: messagePollVoteAdd event added 2025-01-21 10:36:00 -04:00
8bc6a345c5 fix: use spread type operator 2025-01-06 01:20:09 -04:00
dfab6c0b46 fix: eventContext type 2025-01-06 00:16:14 -04:00
c971c913a3 fix: clientDataEvent type 2025-01-05 16:12:40 -04:00
veryCrunchy
72ae9e65ca
feat(events/handler): accept array of events (#315)
* feat(events/handler): accept array of events

* chore: fmt
2024-12-27 18:30:29 -06:00
62aa27bb83 fix: missing runCache 2024-12-26 12:30:30 -04:00
1abbdebef6 fix: sí faltaba algo 2024-12-26 12:02:23 -04:00
JustEvil
8b0ba23b1e
fix: update cache before executing the event? (#313)
* fix: update cache before executing the event?

* fix: remove unnecessary cache update in event handler
2024-12-26 11:13:55 -04:00
7450d5d72f fix: transformers types 2024-12-21 22:47:38 -04:00
2e35884946 fix: get member from cache on guild_member_remove event 2024-12-18 17:13:55 -04:00
f9c5f46d50 fix: events flow 2024-12-18 16:54:26 -04:00
MARCROCK22
815e51fbc8
fix: deno class mixer (#307)
* fix: deno mixer

* fix: revert

* fix: revert

* fix: refresh callback
2024-12-15 13:20:59 -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
c68c091b31 feat: improve channel types & fix overwrites cache 2024-12-09 13:28:44 -04:00
2c9d199c7d feat: soundboard shorter 2024-11-18 23:12:12 -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
Marcos Susaña
fc9339c2fa
fix(types): sounds update 2024-10-12 21:32:40 -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
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
a355d843ad chore: organize imports 2024-09-15 19:52:43 +00:00
0c7067f751 feat: expose filter method 2024-09-07 22:35:04 +00:00
Marcos Susaña
e16bd42092
feat: subscriptions (#257) 2024-08-29 20:34:40 -04: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
0bc8a6789c
feat: voice channel effect send event (#250) 2024-08-21 18:05:21 -04:00
4f3d5548a9 fix: event types 2024-08-21 15:01:04 +00:00
Marcos Susaña
40f261f921
fix: correct types in event handler (#248)
* fix: correct type in event values

* fix: spread custom args
2024-08-21 10:19:03 -04: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
4986bb4603 fix: biome 2024-08-17 02:38:51 +00:00
Marcos Susaña
be10b9bfe6
feat(gateway): message update pog 2024-08-15 20:29:02 -04:00
f3ba75155d fix: collectors 2024-08-03 23:59:52 +00:00
Marcos Susaña
5e4a7e2792
A way to set values in handlers (#228)
* fix: handlers seteables values

* fix: fix

* fix: reload throw error in cw
2024-07-29 17:55:03 -04:00
Marcos Susaña
11c72e66f6
feat: monetization (#227)
* feat: monetization

* chore: apply formatting

* fix: query list entitlements
2024-07-27 22:05:18 -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
20bb778722
chore: improve toString output with newly added formatters (#209)
* chore: improve toString output with newly added formatters

* fix(missingParameter): added emoji name as a parameter

---------

Co-authored-by: NotAditya69 <90441096+NotAditya69@users.noreply.github.com>
2024-06-12 07:49:42 -04:00
Marcos Susaña
0c5e874bbd fix: guild member user error 2024-06-10 16:21:31 -04:00
23be553844 fix: missing seyfert custom events 2024-06-05 00:34:50 +00:00
349628a587 feat: custom events 2024-06-04 21:29:02 +00:00
d2157e7324 feat: optimize code & implement onRunError and onStopError in collectors & use Promise.all 2024-06-02 14:33:44 +00:00
0da67319f3 fix: cache flow 2024-06-01 20:14:40 +00:00
Simxnet
417e650bd4
fix: remove deprecated property interaction in favor of interaction_metadata (#197) 2024-05-31 17:23:07 -04:00
42b682d8fd fix: typescript moment 2024-05-30 19:11:17 +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