76 Commits

Author SHA1 Message Date
MARCROCK22
db63352dea
feat: from parameter in resource#filter method (#311) 2024-12-24 22:15:23 -04:00
ded2a32533 feat: remove updateOnly parameter 2024-12-24 15:48:04 -04:00
a0a70066ef fix: dont overwrite guild_id when messages cache 2024-12-18 20:57:27 -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
5309571059
fix: cache user on message events (#306) 2024-12-14 20:05:15 -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
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
5570ca41fc fix: support for async cache 2024-12-06 21:24:57 -04:00
5a76f7c567 fix: channels#filter type 2024-11-16 20:59:53 -04:00
MARCROCK22
7f4044469b
fix: default callbacks & cache update (#294) 2024-11-14 13:45:14 -04:00
b1e66f05dc chore: perfomance 2024-10-26 21:26:35 +00:00
7591c11446 feat: cacheResource.flush 2024-10-26 16:17:43 +00:00
a09b2ff982 fix: limitedMemoryAdapter#bulkGet 2024-10-06 13:46:13 +00:00
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
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
24cfd39001 fix: dont encode cache data by default 2024-09-20 03:42:22 +00:00
a355d843ad chore: organize imports 2024-09-15 19:52:43 +00:00
3245291121 fix: actually using biome 2024-09-15 19:02:13 +00:00
Marcos Susaña
3cb52086cb
feat(types): type AnyContext 2024-09-06 21:50:03 -04:00
fc4c7ef3da fix(cache): actually disabling onPacket cache 2024-08-26 01:58:49 +00:00
JustEvil
ec0ddb64c9
fix: cache truco 2 (#247) 2024-08-19 23:12:16 -04:00
JustEvil
f630d118fb
fix: cache truco (#246) 2024-08-19 22:58:45 -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
07340a98bb feat: slipher 2024-08-17 02:36:27 +00:00
Marcos Susaña
d6ff9767a1
feat: http voice states (#235)
* feat: http voice states

* fix: ups

* fix: typo

* fix: structure
2024-08-07 20:26:47 -04:00
simxnet
571ab18f4f
fix(limitedAdapter): options (#236)
* fix(limitedAdapter): options

* fix: use mergeoptions
2024-08-07 18:37:25 -04:00
c3ea1a394a feat: endcode & decode cache adapters option 2024-08-03 23:58:55 +00:00
b9abd1fa15 fix: testAdapter, test with remove method 2024-08-03 02:17:58 +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
6b931e5661 fix: limitedmemoryadapter#remove 2024-07-07 22:00:58 +00:00
a6dae32aaf fix: i hate git 2024-07-02 21:59:55 +00:00
9e0586986d feat: cache raw methods 2024-07-02 21:53:00 +00:00
MARCROCK22
8e655ee1c7
feat: workerManager & workerclient adapter (#217) 2024-07-01 22:11:41 -04:00
1ee3edfc5b feat: cache#testAdapter 2024-06-24 21:01:14 +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
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
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
52ee517fdc fix: use fakePromise 2024-05-31 00:39:49 +00:00
Marcos Susaña
c409628a43
chore: updates (#195) 2024-05-28 09:19:35 -04:00
MARCROCK22
9dec8e50eb feat: shouldUploadCommands 2024-05-12 21:40:27 -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
9e99c7b2cf fix: type & redis 2024-04-25 22:45:28 -04:00
MARCROCK22
2f1b6e4b8f feat: use message cache in events 2024-04-22 19:41:46 -04:00
MARCROCK22
ef0786775c fix: clean code & messages cache 2024-04-22 18:27:36 -04:00
MARCROCK22
cffbadee61 feat: messages cache 2024-04-20 23:36:06 -04:00