Fleny
bb6b8df2cf
Add get sticker pack endpoint ( #3844 )
2024-08-10 19:36:29 -05:00
Fleny
895cc17106
Add voice state http endpoints ( #3841 )
2024-08-10 19:36:15 -05:00
dependabot[bot]
985801c834
build(deps-dev): bump @types/node from 20.14.11 to 22.1.0 ( #3839 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.14.11 to 22.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-10 19:36:01 -05:00
dependabot[bot] and Skillz4Killz
c4000094c8
build(deps-dev): bump @types/chai from 4.3.16 to 4.3.17 ( #3836 )
...
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) from 4.3.16 to 4.3.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai )
---
updated-dependencies:
- dependency-name: "@types/chai"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2024-08-10 19:35:35 -05:00
Fleny
304a61c786
Add the propriety if it has _ to the object ( #3828 )
2024-08-07 01:20:50 -05:00
dependabot[bot]
8dc6c3f650
build(deps): bump typescript from 5.5.3 to 5.5.4 ( #3797 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.5.3 to 5.5.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.3...v5.5.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-07 01:12:06 -05:00
dependabot[bot]
ce4eb2c28c
build(deps-dev): bump c8 from 9.1.0 to 10.1.2 ( #3783 )
...
Bumps [c8](https://github.com/bcoe/c8 ) from 9.1.0 to 10.1.2.
- [Release notes](https://github.com/bcoe/c8/releases )
- [Changelog](https://github.com/bcoe/c8/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bcoe/c8/compare/v9.1.0...v10.1.2 )
---
updated-dependencies:
- dependency-name: c8
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-07 01:11:50 -05:00
Fleny and Awesome Stickz
9e1ada64b8
fix(rest): Use a _ check instead of the manual one on the switch ( #3825 )
...
* Use a _ check instead of the manual one on the switch
* invert the check, as the current one is wrong
* move the check to before indexing the object
---------
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2024-08-03 10:17:26 +05:30
dependabot[bot]
01437ebb50
build(deps-dev): bump @swc/core from 1.4.2 to 1.7.3 ( #3811 )
...
Bumps [@swc/core](https://github.com/swc-project/swc ) from 1.4.2 to 1.7.3.
- [Release notes](https://github.com/swc-project/swc/releases )
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md )
- [Commits](https://github.com/swc-project/swc/compare/v1.4.2...v1.7.3 )
---
updated-dependencies:
- dependency-name: "@swc/core"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 23:40:19 -05:00
Fleny and Awesome Stickz
791943a652
fix(rest): ignore snakelized properties in changeToDiscordFormat ( #3795 )
...
* fixes #3666
* Update packages/rest/src/manager.ts
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
---------
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2024-07-30 23:38:15 -05:00
dependabot[bot]
84e145eb65
build(deps-dev): bump @types/node from 20.14.10 to 20.14.11 ( #3780 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.14.10 to 20.14.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-23 00:30:16 -05:00
dependabot[bot]
b61cabed05
build(deps-dev): bump chai-as-promised from 7.1.1 to 8.0.0 ( #3762 )
...
Bumps [chai-as-promised](https://github.com/chaijs/chai-as-promised ) from 7.1.1 to 8.0.0.
- [Release notes](https://github.com/chaijs/chai-as-promised/releases )
- [Commits](https://github.com/chaijs/chai-as-promised/compare/v7.1.1...v8.0.0 )
---
updated-dependencies:
- dependency-name: chai-as-promised
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-20 16:56:33 -05:00
dependabot[bot]
7c404ee420
build(deps-dev): bump mocha from 10.5.1 to 10.7.0 ( #3778 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 10.5.1 to 10.7.0.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v10.5.1...v10.7.0 )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-20 16:56:21 -05:00
Fleny
2421ae24cf
Add application emoji endpoints ( #3774 )
2024-07-20 16:56:00 -05:00
Fleny
c1fd19c0ee
Remove DiscordPartialGuild, use Partial<DiscordGuild> ( #3768 )
2024-07-20 16:55:45 -05:00
Fleny
0a5493196d
fix(rest): Fix followups from getting stuck in queue ( #3761 )
...
* Fix followups from getting stuck in queue
* remove queueIdentifier as it isn't actually needed
* Revert some changes that aren't needed
2024-07-20 16:53:41 -05:00
dependabot[bot]
4142946071
build(deps-dev): bump @biomejs/biome from 1.8.0 to 1.8.3 ( #3748 )
...
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ) from 1.8.0 to 1.8.3.
- [Release notes](https://github.com/biomejs/biome/releases )
- [Changelog](https://github.com/biomejs/biome/blob/main/CHANGELOG.md )
- [Commits](https://github.com/biomejs/biome/commits/cli/v1.8.3/packages/@biomejs/biome )
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-20 16:52:35 -05:00
Fleny and LTS20050703
27fc12ec34
feat(cli)!: CLI generated types ( #3453 )
...
* Move transformers types to a single file
* Add script to test TS Compiler api capabilities
Remove nested objects where possible
* Use Partial<Role> and DiscordOverwrite instead of objects in AuditLogChange
* Fix typescript errors
* Remove interfaces.json
It is a generated file from the test script, not something that should be commited
* Start work on the test generation script
The TS version got bumped to 5.5.3
* Fix any type, use node16 module resolution
"node" is a deprecated alias for "node10", node16 is the recommended
Add code to check for type errors when getting the types from the interfaces
Fix errors when TS tries to find the files that the root tsconfig.json handles
* remove some useless compile options in TSApiTest
* Add jsdoc parsing
JSDoc tags with the next right after are not supported
* fix small format issue
* Fix ApplicationCommandPermissions todo
* Fix CI error
* Simplify parseDocumentation
* get type directly from the sourceFile
* remove hasUndefinedUnion as it is no longer used
* fix discordeno bin file name
* Update the yarn lockfile
* Merge scripts into one
* Use `@internal` instead of `@private` + `@deprecated`
* work on .d.ts files
* Process interface members once
* Move emit/preEmit diagnostics to a unit test
they can take quite a while, even 3-4 seconds, so running in the CLI every time does not seem ideal
* test: add build:types to test:unit dependencies
This is a test commit, it will provably get reversed. The scope is to see what CI does with this
* add find-up to deno import map
* add typescript to the deno import map
* Add node:assert to deno import map
* check for this.timeout that exists
deno does not have the timeout
* add build:type to deno-unit
* Temp hack to work-around the script deno tests
* Test with bun running the test as well
* fix turbo deps for unit tests
* remove test scripts
* Update CI to use build:type cache
* Apply code review suggestion
Co-authored-by: LTS20050703 <lts20050703@gmail.com >
* Add code to modify the interface member
* use an actual config
The config source is still a dummy object for now
* Search and use discordeno.config.js file
* provide config from cli options
* Handle props in base objects
The dependencies of an object need to be declared/updated manually, it would be painful to fix this in such a way that would be something that Typescript can give us from the compiler API
* add some tests for desired proprieties
* also check for a .mjs config file
* Add support for .ts config files
We use the typescript compiler to emit an in-memory version of the config file, import it and then remove it. It does not do bundling so if the config imports local files it will not work. Also the file is not type-checked as it would slow down the config loading
* remove compiler host, use callback on program.emit
* fix deno ci error
* add node:fs/promises to deno import map
---------
Co-authored-by: LTS20050703 <lts20050703@gmail.com >
2024-07-20 16:52:21 -05:00
Fleny
919474069d
chore: Migrate ESLint and prettier to Biome ( #3634 )
...
* Migrate eslint and prettier to biomejs
This does NOT include examples/bigbot as it has its own formatter
* Update to biome 1.8.0
* Readd dotenv dev dependency to rest
During a merge it got lost
2024-07-13 13:05:02 -05:00
dependabot[bot]
14d5e2ffb1
build(deps-dev): bump @swc/cli from 0.3.9 to 0.4.0 ( #3729 )
...
Bumps [@swc/cli](https://github.com/swc-project/pkgs ) from 0.3.9 to 0.4.0.
- [Commits](https://github.com/swc-project/pkgs/commits )
---
updated-dependencies:
- dependency-name: "@swc/cli"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-13 08:52:46 -05:00
Fleny
06664ed8bb
fix(website): fix typedoc configuration ( #3733 )
...
* Fix typedoc CI crashse
And adapt the website to its new output
* Revert /tsconfig.json changes
* Update footer
2024-07-13 08:15:19 -05:00
dependabot[bot]
6762bd4476
build(deps-dev): bump sinon from 17.0.1 to 18.0.0 ( #3721 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 17.0.1 to 18.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v17.0.1...v18.0.0 )
---
updated-dependencies:
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 19:11:09 -05:00
dependabot[bot]
b68af86688
build(deps-dev): bump typescript from 5.4.5 to 5.5.3 ( #3720 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.4.5 to 5.5.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 09:25:35 -05:00
dependabot[bot]
02512c9de4
build(deps-dev): bump @types/chai from 4.3.11 to 4.3.16 ( #3722 )
...
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) from 4.3.11 to 4.3.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai )
---
updated-dependencies:
- dependency-name: "@types/chai"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 09:24:48 -05:00
dependabot[bot]
53649f1fbc
build(deps-dev): bump @types/node from 20.11.25 to 20.14.10 ( #3724 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.11.25 to 20.14.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 09:24:08 -05:00
Fleny and Skillz4Killz
97a8016041
chore: Code changes & formatting and linting ( #3552 )
...
* Do some code changes & run prettier and eslint
* Fix test:test-type script
* Apply code review suggestions
* update heartbeat interval & add a reason for the specific value
* Fix husky error
* Update to TS 5.5
And use ${configDir}
* Fix test.json tsconfig base
---------
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2024-07-08 15:11:41 -05:00
Fleny and Skillz4Killz
49ce2e44df
feat(bot,rest,types): Add burst (super reaction) informations on events & DiscordReactionType ( #3615 )
...
* Add GetReactions#type & DiscordReactionType
* Add burst and burstColors to reaction add/remove events
The reaction remove event only has burst, not burstColors
* Add type to message reaction add/remove
* Fix type error
---------
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2024-07-07 10:26:35 -05:00
Fleny and Awesome Stickz
b20e12ded4
feat(rest,types)!: User apps GA ( #3696 )
...
* User apps GA
* Apply code-review suggettions
Without some re-wording of the already confusing Discord usage of context/type term
---------
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2024-07-07 20:42:02 +05:30
dependabot[bot]
a7c53516bf
build(deps-dev): bump chai from 5.0.3 to 5.1.1 ( #3556 )
...
Bumps [chai](https://github.com/chaijs/chai ) from 5.0.3 to 5.1.1.
- [Release notes](https://github.com/chaijs/chai/releases )
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md )
- [Commits](https://github.com/chaijs/chai/compare/v5.0.3...v5.1.1 )
---
updated-dependencies:
- dependency-name: chai
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-06 13:52:35 -05:00
dependabot[bot]
4d1e9154a6
build(deps-dev): bump mocha and @types/mocha ( #3685 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) and [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ). These dependencies needed to be updated together.
Updates `mocha` from 10.3.0 to 10.5.1
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v10.3.0...v10.5.1 )
Updates `@types/mocha` from 10.0.6 to 10.0.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-minor
- dependency-name: "@types/mocha"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-06 13:51:19 -05:00
Fleny and Skillz4Killz
5cccaeaf06
fix(rest)!: Fix Basic OAuth2 queues and add method for updating the queues and ratelimit paths after a refresh ( #3185 )
...
* fix basic auth requested
* Change queue keys to "{auth}{url}"
* add updateTokenQueues method
* Fix unit tests
* removed interval check for queue clear | needs testing
* hide tokens in debug logs
* Fix 429 & 401 requests, rename queueBaseKey to requestAuthorization
* fix unit tests
* Add proxy.updateBearerTokenEndpoint option
---------
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2024-07-06 17:30:03 +00:00
dependabot[bot]
2b177719e5
build(deps-dev): bump typescript from 5.3.3 to 5.4.5 ( #3534 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.3.3 to 5.4.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.5 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 17:02:24 +00:00
Fleny
c6ca749a4f
Add botBannerURL to edit current bot banner ( #3620 )
2024-05-26 18:58:17 +00:00
Fleny
f8f976acf4
Add reason to followAnnouncement ( #3622 )
2024-05-26 18:51:00 +00:00
47d0cea664
feat(bot,rest,types): Add support for one-time entitlements ( #3626 )
...
* Add support for one-time entitlements
* Add comment to consumeEntitlement route
Co-authored-by: LTS20050703 <lts20050703@gmail.com >
* Check for undefined instead of falsy values in consumed for entitlements
Co-authored-by: LTS20050703 <lts20050703@gmail.com >
---------
Co-authored-by: LTS20050703 <lts20050703@gmail.com >
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2024-05-26 18:38:48 +00:00
Kane Wang
d69e537ead
fix getPollAnswerVoters return type ( #3561 )
2024-05-19 10:36:14 +00:00
Fleny and Matt Hatcher
687c29dd7a
feat(bot,rest,types,utils): Support User-Installed apps, Interaction contexts and install types ( #3502 )
...
* Support integrationTypesConfig in Application
* Add support for commands with integrationTypes and contexts
And deprecate the dmPermission boolean, it is being replaced by contexts
* Update contexts comment to make it more clear
* User-Installed apps
* Add integrationType oauth parameter
fixes #3517
* Add null to contexts
closes #3523
* Mark oauth2 install params as nullable
closes #3525
* Fix typescript errors
* Add preview notices
---------
Co-authored-by: Matt Hatcher <3768988+MatthewSH@users.noreply.github.com >
2024-04-29 15:36:29 +00:00
Fleny and LTS20050703
6ad4e1d2e8
feat(bot,rest,types): Add polls support ( #3542 )
...
* Add polls support
* Add default for limit on GetPollAnswerVotes
* Apply code rewiew suggestion
Co-authored-by: LTS20050703 <lts20050703@gmail.com >
---------
Co-authored-by: LTS20050703 <lts20050703@gmail.com >
2024-04-28 11:42:19 +00:00
Fleny
75332eecda
Add bulk ban ( #3543 )
2024-04-28 10:50:02 +00:00
Fleny
dfa1514577
Update comment for permissions needed when pruning members ( #3503 )
2024-04-18 09:24:43 +00:00
Fleny
efe56fbe06
feat(bot, rest, gateway, utils): Add support for custom loggers ( #3383 )
...
* Add support for custom loggers
* update docs for loggerFactory
* Use union for names in the bot logger factory
* Fix formaating errors
2024-03-17 11:22:45 +00:00
Fleny
2002a2bd6e
feat(rest): Improve rest errors ( #3382 )
...
* Improve rest errors
* formatting
2024-03-08 04:42:49 +00:00
Fleny and Matt Hatcher
edbb134efa
docs: Update contributing docs ( #3386 )
...
* Update docusaurus typescript setup for v3
And fix lint-staged and eslint
* Enable automatic JSX runtime
* Remove babel config and dependencies
* update yarn.lock
* add typecheck to site workflow
* update typedoc config
* downgrade docusaurus packages
* Update site.yml
* Type context and options in webpack-docusaurus-plugin.ts
* Update contributing docs
remove howToUseTurborepo.md
update devcontainer
update task to remove error matcher
remove useless packages/rest/src/README.md
remove readme.hbs
* Add notice for the clean build
---------
Co-authored-by: Matt Hatcher <3768988+MatthewSH@users.noreply.github.com >
2024-03-08 04:40:27 +00:00
Dorian Oszczęda
05a20c3bf8
refactor(bot, gateway, rest)!: Improve the interface of the createBot() function. ( #3422 )
...
* misc: Make the token a required property on the rest manager.
* refactor: Make unnecessarily required properties optional.
* misc: Improve interface for `createBot()` and allow passing in `transformers`/`handlers`.
* fix: Test made redundant by changes still being included.
* fix: Missing non-null assertions.
* fix: Benchmarks failing.
* misc: Remove `cache.requestMembers.pending` as an exposed option.
* style: Switch back to interface approach.
2024-03-07 22:39:48 -06:00
dependabot[bot]
866d622eb3
build(deps): bump dotenv from 16.3.1 to 16.4.5 ( #3456 )
...
Bumps [dotenv](https://github.com/motdotla/dotenv ) from 16.3.1 to 16.4.5.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md )
- [Commits](https://github.com/motdotla/dotenv/compare/v16.3.1...v16.4.5 )
---
updated-dependencies:
- dependency-name: dotenv
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 22:34:22 -06:00
dependabot[bot]
5612d5d09b
build(deps-dev): bump @types/node from 20.11.15 to 20.11.25 ( #3475 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.11.15 to 20.11.25.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 22:30:41 -06:00
dependabot[bot]
376277355a
build(deps-dev): bump mocha from 10.2.0 to 10.3.0 ( #3458 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v10.2.0...v10.3.0 )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 18:00:25 +00:00
dependabot[bot]
e6192440a3
build(deps-dev): bump eslint from 8.56.0 to 8.57.0 ( #3459 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.56.0 to 8.57.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 18:00:08 +00:00
dependabot[bot] and Fleny
23ba7274e0
build(deps-dev): bump @swc/cli from 0.1.63 to 0.3.9 ( #3418 )
...
* build(deps-dev): bump @swc/cli from 0.1.63 to 0.3.9
Dependabot couldn't find the original pull request head commit, e5e8fe736bb5b72b9622fbb362d85f67cc867c60.
* add --strip-leading-paths to swc
---------
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <fleny113@outlook.com >
2024-02-25 11:21:34 +00:00
Matt Hatcher
6b5d8094df
fix(rest): remove has_message from forum route ( #3384 )
2024-02-25 01:40:09 +00:00