38 Commits

Author SHA1 Message Date
c4d1c1ce90
fix(api): handle 429 in shared scopes 2025-06-23 10:04:07 -04:00
db38f49ca9 chore: bump 3.2.1 2025-06-17 16:19:49 -04:00
e3b6f57741
chore: 3.1.0 (#339)
* perf: optimize members cache

* feat: components V2 (#337)

* feat: components v2

* fix: build

* chore: apply formatting

* refactor(components): some types

* refactor(types): replace TopLevelComponents with APITopLevelComponent in REST

* fix: unify components

* refactor(TextDisplay): rename content method to setContent for clarity

* refactor(builders): add missing builder from component

* fix: touche

* feat(webhook): webhook params for components v2

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix: use protected instead of private

* fix(editOrReply): accept flags when editing message

* feat: add onBeforeMiddlewares and onBeforeOptions (#338)

* chore: package version

---------

Co-authored-by: MARCROCK22 <marcos22dev@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MARCROCK22 <57925328+MARCROCK22@users.noreply.github.com>
2025-04-27 01:21:56 -04:00
e8294fec85 fix: update typescript version 2024-12-03 01:06:39 -04:00
3e14166247 fix: collector error value 2024-11-16 13:14:31 -04:00
53e99d5217 fix(workerProxy): files support 2024-11-16 13:13:30 -04:00
e4233e6a40 fix: types & workerClient#resumeShard 2024-11-10 21:51:28 +00:00
David
4f546b3ffc
feat: improve Discord API error messages (#289) 2024-11-05 03:11:14 -04:00
Drylozu
ad71fc6805
feat: show API method on request error 2024-11-04 18:23:09 -05:00
David
15dd80a322
feat: show API route on request error (#288) 2024-11-04 18:13:38 -05:00
MARCROCK22
56246ed5cf
onRatelimit callback & GuildCommandContext types(unnreaal update) (#279)
* feat: type GuildCommandContext, onRatelimit callback

* fix: test

* fix: use reduce
2024-10-13 21:48:20 -04:00
MARCROCK22
5926b4df15
feat(WorkerManager): resharding support (#271)
* feat: workerManager resharder

* fix: changes
2024-10-05 19:01:37 -04: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
3245291121 fix: actually using biome 2024-09-15 19:02:13 +00:00
041db86ac2 fix: send undefined instead of an empty array 2024-09-12 00:42:11 +00:00
7c70f362fb fix: content-type 2024-09-07 19:23:06 +00:00
2473f673bc fix: content-type 2024-09-07 18:59:26 +00:00
bcadf6022c fix: rest error message 2024-09-07 18:29:27 +00:00
MARCROCK22
172637307d
fix: retry_after when ratelimited (#260) 2024-09-01 01:01:31 -04:00
Marcos Susaña
a9d14c4c01
feat: Entry Points (#256)
* feat: entry points types

* fix: update attachment

* feat: more types and command

* chore: apply formatting

* feat: entry interaction

* chore: apply formatting

* feat: entry commands

* feat: end

* fix: build

* fix: typing

* fix: entry point in handler

* fix: build

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-27 21:18:16 -04:00
JustEvil
d9aa4a56d0
refactor: moved functions (#252)
* refactor: moved functions
- Moved functions
- Fixed imports
- Removed duplicated file

* chore: apply formatting

* fix: import
2024-08-22 17:32:55 -04:00
07340a98bb feat: slipher 2024-08-17 02:36:27 +00:00
d79254ab6c chore: remove useless depedency 2024-08-14 22:09:02 +00:00
Marcos Susaña
cd445b19b2
chore: remove ts-mixer dependency (#223)
* feat: mixer

* feat(api): allow token in proxy options

* feat(member): timeout's

* chore: apply formatting

* fix: xd?

* fix: timeout reason

* fix: hasTimeout getter

* feat: mixer...

* fix: setter

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-24 21:41:24 -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
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
Marcos Susaña
c409628a43
chore: updates (#195) 2024-05-28 09:19:35 -04:00
MARCROCK22
006a9f390f feat: send attachments option by default 2024-05-25 13:18:43 -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
6675757b61 fix: share same bucket for all interactions callback 2024-04-24 19:41:05 -04:00
MARCROCK22
7f49385fb1 feat: overwrite token via request 2024-04-24 18:23:43 -04:00
MARCROCK22
59b48b2168 feat: support for Bearer auth type 2024-04-24 18:18:59 -04:00
MARCROCK22
f91968caef fix: promises 2024-04-07 16:57:54 -04:00
Marcos Susaña
7929c9ac9a feat: proxy cdn
Co-authored-by: MARCROCK22 <MARCROCK22@users.noreply.github.com>
2024-04-05 23:02:33 -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
MARCROCK22
c97eb19869 update api handler 2024-03-11 18:04:26 -04:00
MARCROCK22
d0915ba882 the ultimate framework 2024-03-09 15:49:41 -04:00