Fleny
92bf16645a
PurchaseNotification message type ( #3656 )
2024-06-12 15:39:06 +00:00
Fleny
f6a42b966a
Add USE_EXTERNAL_APPS permission ( #3658 )
2024-06-12 15:38:17 +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
ad7e74c4cd
feat(bot,types)!: Replace userId with User object in interactionMetadata ( #3627 )
...
* Replace userId with User object in interactionMetadata
* Fix type error
---------
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2024-05-26 19:36:48 +00:00
Fleny
5290078044
fix(bot,types,utils)!: change avatar decoration url link ( #3621 )
...
* Change the avatarDecorationUrl link
* Add User#avatarDecorationData & Member#avatarDecorationData
* Fix type error
* Fix format error
---------
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2024-05-26 19:14:11 +00:00
Fleny
226e3de43e
Add auditlog events for onboarding ( #3616 )
2024-05-26 19:05:53 +00:00
Fleny
7a0d730b1b
docs(types): Update some documentation of the options for slash commands ( #3619 )
...
* Update some documentation of the options for slash commands
* Update comments
2024-05-26 19:00:46 +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
Fleny
163cebdcd0
Add the poll object to the message transformer ( #3624 )
...
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2024-05-26 18:49:05 +00:00
Fleny
e33b44e5e5
Add domain connection service type ( #3623 )
2024-05-26 18:41:11 +00:00
Fleny
c570a881cf
fix(utils): Use media.discordapp.net for gif stickers ( #3625 )
...
* Use media.discordapp.net for gif stickers
And add Gif to StickerFromatTypes as it was missing
* remove return undefined, use return
2024-05-26 18:39:42 +00:00
Fleny
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
Fleny
541dc3b0cf
feat(bot,types): Add MessageCall ( #3628 )
...
* Add message#call
* Update message transformer for message calls
Co-authored-by: LTS20050703 <lts20050703@gmail.com >
---------
Co-authored-by: LTS20050703 <lts20050703@gmail.com >
2024-05-26 18:07:45 +00:00
Kane Wang
d69e537ead
fix getPollAnswerVoters return type ( #3561 )
2024-05-19 10:36:14 +00:00
Fleny
d0d810dfb5
Remove bot token from the shards logs ( #3558 )
2024-05-11 14:44:17 +00:00
Fleny
a361a53d57
Add poll transformer export ( #3550 )
...
& fix a typedoc warning for the oauth2 func
2024-05-06 07:40:08 +00:00
Fleny
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
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
3e99aba7e9
Add bungie discord connection ( #3526 )
2024-04-18 09:19:02 +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
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
Fleny
46c93385c1
Update interaction helpers ( #3465 )
2024-03-07 22:35:55 -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]
fdc86c2107
build(deps-dev): bump @typescript-eslint/eslint-plugin ( #3472 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 6.21.0 to 7.1.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
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-03-07 22:32:30 -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]
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
dependabot[bot]
926b70f243
build(deps-dev): bump @typescript-eslint/parser from 6.18.1 to 7.0.2 ( #3444 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 6.18.1 to 7.0.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.0.2/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
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-02-25 01:27:30 +00:00
dependabot[bot]
8c86d79057
build(deps-dev): bump prettier from 3.2.4 to 3.2.5 ( #3437 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.2.4...3.2.5 )
---
updated-dependencies:
- dependency-name: prettier
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-02-25 01:26:38 +00:00
dependabot[bot]
f63018bd47
build(deps-dev): bump @swc/core from 1.4.0 to 1.4.2 ( #3452 )
...
Bumps [@swc/core](https://github.com/swc-project/swc ) from 1.4.0 to 1.4.2.
- [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.0...v1.4.2 )
---
updated-dependencies:
- dependency-name: "@swc/core"
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-02-25 01:05:31 +00:00
Dorian Oszczęda
100039b1bd
feat: Add voice state to the desired properties object. ( #3424 )
...
* feat: Add voice state to the desired properties object.
* chore: Remove unnecessary check.
2024-02-21 14:20:23 +00:00
Fleny
cee79197e6
Add enforceNone ( closes #3431 ) ( #3432 )
2024-02-21 14:07:56 +00:00
Fleny
262e6cee7e
Add SUPPRESS_NOTIFICATIONS to InteractionCallbackData.flags ( #3448 )
2024-02-21 13:57:56 +00:00
dependabot[bot]
7e505951a1
build(deps): bump commander from 11.1.0 to 12.0.0 ( #3425 )
...
Bumps [commander](https://github.com/tj/commander.js ) from 11.1.0 to 12.0.0.
- [Release notes](https://github.com/tj/commander.js/releases )
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tj/commander.js/compare/v11.1.0...v12.0.0 )
---
updated-dependencies:
- dependency-name: commander
dependency-type: direct:production
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-02-20 17:19:05 +00:00
dependabot[bot]
9b5e080cbb
build(deps-dev): bump @swc/core from 1.3.102 to 1.4.0 ( #3417 )
...
Bumps [@swc/core](https://github.com/swc-project/swc ) from 1.3.102 to 1.4.0.
- [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.3.102...v1.4.0 )
---
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-02-13 02:11:11 +00:00
dependabot[bot]
657082ea78
build(deps-dev): bump @typescript-eslint/eslint-plugin ( #3419 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 6.18.1 to 6.21.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.21.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
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-02-09 20:35:26 +00:00
Fleny
f0ac958903
chore(website): Cleanup docusaurus setup ( #3355 )
...
* 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
---------
Co-authored-by: Matt Hatcher <3768988+MatthewSH@users.noreply.github.com >
2024-02-09 20:34:59 +00:00
Endy
96becc331d
fix(types): rm options from SelectMenuUsersAndRolesComponent ( #3369 )
2024-02-09 19:27:35 +00:00
Fleny
5cb9b76e65
fix(rest): Add support for getGuilds with bot token ( #3360 )
...
* Add support for getGuilds with bot token
* Update manager.ts
* Fix prettier error
2024-02-09 18:45:27 +00:00
dependabot[bot]
34bdadfd5e
build(deps-dev): bump eslint-config-standard-with-typescript ( #3400 )
...
Bumps [eslint-config-standard-with-typescript](https://github.com/mightyiam/eslint-config-standard-with-typescript ) from 43.0.0 to 43.0.1.
- [Release notes](https://github.com/mightyiam/eslint-config-standard-with-typescript/releases )
- [Changelog](https://github.com/mightyiam/eslint-config-standard-with-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mightyiam/eslint-config-standard-with-typescript/compare/v43.0.0...v43.0.1 )
---
updated-dependencies:
- dependency-name: eslint-config-standard-with-typescript
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-02-09 18:44:00 +00:00
dependabot[bot]
74312479b9
build(deps-dev): bump chai from 5.0.0 to 5.0.3 ( #3401 )
...
Bumps [chai](https://github.com/chaijs/chai ) from 5.0.0 to 5.0.3.
- [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.0...v5.0.3 )
---
updated-dependencies:
- dependency-name: 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-02-09 18:43:32 +00:00
Fleny
493f4d15e9
Use helpers in interaction methods ( #3395 )
2024-02-09 17:58:13 +00:00
Fleny
617d41f873
Update locales ( #3421 )
...
closes #3420
2024-02-08 22:14:19 +00:00