68 Commits

Author SHA1 Message Date
a677ec795c
feat: better support for applications and their resources (#328)
* feat: stuff

* fix: :b

* chore: apply formatting

* fix: lol

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-14 18:15:39 -04:00
MARCROCK22
00d5dcdaa7
fix: remove deprecated things & decoration route & interaction type (#314)
* fix: remove deprecated things & decoration route & interaction type

* fix: meh
2024-12-26 15:58:00 -06:00
MARCROCK22
c65f8ce5c5
feat: missing types (#310) 2024-12-23 10:10:35 -06:00
e8294fec85 fix: update typescript version 2024-12-03 01:06:39 -04:00
35bd23b160 fix: correctly build cdn route 2024-11-19 14:45:05 -04:00
2c9d199c7d feat: soundboard shorter 2024-11-18 23:12:12 -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
7591c11446 feat: cacheResource.flush 2024-10-26 16:17:43 +00: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
20b68bf97e
fix: rawFile supports arrayBuffer (#277) 2024-10-12 20:12:46 -04:00
MARCROCK22
5926b4df15
feat(WorkerManager): resharding support (#271)
* feat: workerManager resharder

* fix: changes
2024-10-05 19:01:37 -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
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
Marcos Susaña
8cc495a4db
chore: release 2024-09-06 22:23:08 -04:00
MARCROCK22
172637307d
fix: retry_after when ratelimited (#260) 2024-09-01 01:01:31 -04:00
Marcos Susaña
e16bd42092
feat: subscriptions (#257) 2024-08-29 20:34:40 -04:00
0c1ef3777f fix: types 2024-08-28 01:40:13 +00: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
5b6cb6ece6 feat: fetch guild role 2024-08-21 15:13:48 +00: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
9066f510e3 fix: ws reconnect 2024-08-11 23:43:33 +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
4061f00625 feat: update constants 2024-08-03 03:35:30 +00: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
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
Tony Supremacy
04e17789e8
feat: add support for application emojis features (#220)
* 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
2024-07-19 15:45:08 -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
0fd02117ce feat: remove dynamicAvatarURL, option exclude added in GuildMember#avatarURL 2024-06-01 17:42:26 +00:00
Xeno
00640bfda7
feat: new changes to avatarURL method over GuildMember & User (#194)
* fix(GuildMember#avatarURL): use dynamic response, to return gif avatar if the avatar is a gif

* fix(User#avatarURL): dynamic response, if avatar is a gif return gif

* fix(avatarURL): specified extension is being overriden by gif if avatar starts with a_

* chore: change in parseCDNURL so it's effective for almost everything

* chore: re-add GuildMember#dynamicAvatarURL

* fix(GuildEmoji#create): returns void while it should return the resolve promise of the created emoji

---------

Co-authored-by: NotAditya69 <90441096+NotAditya69@users.noreply.github.com>
2024-05-30 15:17:59 -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