* chore(deps): upgrade deps to latest in range
* feat: upgrade node engine minimum
Closes#3173
* fix: typing errors after dep upgrade
* chore(deps): upgrade benchmark typescript version
* feat: upgrade eslint, lint staged, and es version
* fix: lint-staged failures
* style: formatting
* chore(deps): major version upgrades
* chore(deps): upgrade yarn to 4.0
* fix: lock typescript to 5.2.2 until ts-node/mocha fix
bug: https://github.com/mochajs/mocha/issues/5031
* chore: remove old Deno file
Went through history and can't find any reference to this after Deno rewrite
* chore(deps): more dep updates
* feat: typedoc config upgrade
* fix: temporarily reset docusaurus to main
* chore(deps): minor range upgrades
* chore(deps)!: docusaurus major upgrade
* revert: go back to original 2.x docusaurus
* feat: all cjs export
* test: fix deno test
* style: fix error Expected space or tab before '*/' in comment spaced-comment
* fix: deno import map
* fix: sneak in a fix for yarn
* 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
* 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>