* test: bun test
* Update package.json
* ci: update bun version
* Update package.json
* Update package.json
* test
* ci: update bun
* chore(ci): update bun version
---------
Co-authored-by: H01001000 <heiheiho000@gmail.com>
* refactor: ignore handlers if events for an handler isnt provided
* style: use !event instead of event === undefined check
* fix: handleGuildDelete check
* feat: add embed builder
* feat: account for if a parsed color is NaN
* feat: add code doc
* feat: add example to JSDoc
* feat: add ability to override the current embed index
* style: remove extra whitespace
* feat: add validate method logic
* feat: finish remaining todo
* fix: account for length value in the setCurrentEmbed call
* feat: removing custom error and throw generic
* feat: add initial tests
* feat: add builder object with embeds function
* feat: changing to a method instead of object
* feat: add more tests
* style: lint
* feat: add support for customizers
* Fixing typescript build errors
* add customers for transformGatewayBot
and transformThreadMemberGuildCreate customizers and transformer
* docs: Updated the guide for making custom bot REST instances to use the new createBaseHeaders() function
* Update website/docs/bigbot/step-2-rest.md
* Update website/docs/bigbot/step-2-rest.md
---------
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
* Use desiredProperties in transformGuild
* join channels and threads, make threads a getter
* remove not necessary payload checks
* readd the payload checks, add missing ones
This reverts commit b12e3f09cb.
* feat: made some progress on a function which can be overridden to allow users to inject custom headers into a rest request
* made the changes suggested in PR. Renamed inject headers to createBaseHeaders, which adds the user agent into the headers.
* add OAuth2 routes
* Add oauth2 methods to rest
* Add rest manager methods, Add token params
* Add authorization headers
* Add auth to editUserApplicationRoleConnection
* fix logging header always displaying bot as auth
* Add OAuth2Scope enum
* Start testing ratelimit handling
* Fix now scopes are separated by a space
* move webhook object to DiscordAccessTokenResponse
* convert payload to snake_case
* fix some typings
* more types fixes
* add support for upserting commands with tokens
* handle correctly ratelimit and concurrently
* add guild to DiscordAccessTokenResponse
* Add oauth2 create link function
* Fix removeTokenPrefix to support Bearer tokens
* update jsdoc comment for removeTokenPrefix
* fix removeTokenPrefix unit tests
* fix see link on getMember and getCurrentMember
* add bot helpers and fix some types
* Use objects to pass the bearer tokens
* fix Deno issue with Buffer.from
* Merge 'upstream/main' into feat/oauth2 to fix merge conflict
* Fix debug queue logging
* keep only 1 route for current user
* add Bearer prefixed url to the rest of the logs
---------
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>