dependabot[bot]
659902cc12
build(deps-dev): bump @typescript-eslint/eslint-plugin ( #3304 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 6.13.2 to 6.14.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.14.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>
2023-12-12 12:49:52 +00:00
dependabot[bot] and Fleny
e31c4d0a8a
build(deps-dev): bump eslint-config-standard-with-typescript from 40.0.0 to 42.0.0 ( #3297 )
...
* build(deps-dev): bump eslint-config-standard-with-typescript
Bumps [eslint-config-standard-with-typescript](https://github.com/standard/eslint-config-standard-with-typescript ) from 40.0.0 to 42.0.0.
- [Release notes](https://github.com/standard/eslint-config-standard-with-typescript/releases )
- [Changelog](https://github.com/standard/eslint-config-standard-with-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/standard/eslint-config-standard-with-typescript/compare/v40.0.0...v42.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-standard-with-typescript
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Disable @typescript-eslint/no-unsafe-argument for the logger
* Fix eslint errors
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com >
2023-12-11 22:04:40 +00:00
dependabot[bot]
d1dcbd9757
build(deps-dev): bump eslint-config-prettier from 9.0.0 to 9.1.0 ( #3294 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 9.0.0 to 9.1.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v9.0.0...v9.1.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
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>
2023-12-11 19:06:00 +00:00
dependabot[bot]
59f02730d2
build(deps-dev): bump @typescript-eslint/eslint-plugin ( #3295 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 6.13.1 to 6.13.2.
- [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.13.2/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
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>
2023-12-11 19:05:46 +00:00
dependabot[bot]
2d913a2519
build(deps): bump ws from 8.14.2 to 8.15.0 ( #3296 )
...
Bumps [ws](https://github.com/websockets/ws ) from 8.14.2 to 8.15.0.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.14.2...8.15.0 )
---
updated-dependencies:
- dependency-name: ws
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>
2023-12-11 19:05:23 +00:00
dependabot[bot]
3c5fcf16a5
build(deps-dev): bump eslint-plugin-n from 16.3.1 to 16.4.0 ( #3298 )
...
Bumps [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n ) from 16.3.1 to 16.4.0.
- [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases )
- [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/16.3.1...16.4.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-n
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>
2023-12-11 19:04:32 +00:00
dependabot[bot]
807f67c03b
build(deps-dev): bump typescript from 5.2.2 to 5.3.3 ( #3286 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.2.2 to 5.3.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.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>
2023-12-10 14:36:38 +00:00
dependabot[bot]
790a0e2479
build(deps-dev): bump prettier from 3.1.0 to 3.1.1 ( #3288 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.1.0 to 3.1.1.
- [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.1.0...3.1.1 )
---
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>
2023-12-10 14:02:07 +00:00
dependabot[bot]
6922ef356c
build(deps-dev): bump ts-node from 10.9.1 to 10.9.2 ( #3287 )
...
Bumps [ts-node](https://github.com/TypeStrong/ts-node ) from 10.9.1 to 10.9.2.
- [Release notes](https://github.com/TypeStrong/ts-node/releases )
- [Changelog](https://github.com/TypeStrong/ts-node/blob/main/development-docs/release-template.md )
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.9.1...v10.9.2 )
---
updated-dependencies:
- dependency-name: ts-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>
2023-12-10 13:45:11 +00:00
dependabot[bot]
3bf984417e
build(deps-dev): bump @types/node from 18.18.13 to 20.10.4 ( #3285 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 18.18.13 to 20.10.4.
- [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>
2023-12-10 13:38:51 +00:00
Jonathan Ho
0dfcc0c056
chore: mark bot, utils, types as beta ( #3271 )
...
* chore: mark bot, utils, types as beta
* fix: benchmark import
2023-12-09 11:42:31 +00:00
Jonathan Ho
97be09d65f
Revert "Fix the TS error in transformers benchmark ( #3261 )" ( #3268 )
...
This reverts commit 721b8a82f6 .
2023-12-07 02:29:16 +00:00
Fleny
721b8a82f6
Fix the TS error in transformers benchmark ( #3261 )
2023-12-07 00:28:38 +00:00
Fleny
0af084d932
feat: api docs catchup part 2 ( #3266 )
...
* add guild safety | closes #3020
* Adds approx guild count | closes #3078
* Team member permissions | closes #3105
According to current documentation DiscordTeamMemberRole#Owner does not have a value anymore, in this commit it still had so it is included to be changed by a later commit
* Default thread ratelimit | closes #3216
* Entitlements and SKUs | closes #3219
The entitlements events needs testing for the typing
* Typing endpoint docs update | closes #3222
* Add guildScheduledEventId to CreateStageInstance | closes #3228
* Add listSkus helper
I did forget it in the commit before
* Update Application Endpoints | closes #3230
* Update documentation | closes #3233
* fix starting a thread in forum | closes #3234 & closes #3036
* Add fired events on get widget endpoint | closes #3235
* Add fired events on get widget endpoint pt2 | closes #3236
* Update SKU and Entitlement fields | closes #3238
* Split permissions for expressions and events | closes #3249
* Make GetEntitlements#excludeEnded more specific | closes #3251
* Fix thread/forum channel docs regression | closes #3252
* Another description change for GetEntitlements#excludeEnded | closes #3253
* Document applied_tags on Execute Webhook | closes #3265
* Fix entitlement event types
2023-12-06 16:18:29 +00:00
Fleny
fb947f5672
feat(bot,rest,types): Add support for guild onboarding ( #3260 )
...
* Add types from api-docs-commit related to #2930
* Add rest from api-docs-commit related to #2930
* Add types from api-docs-commit related to #3072
* Add rest from api-docs-commit related to #3072
* Add types from api-docs-commit related to #3247
* Add transformers and helpers
2023-12-04 22:16:33 +00:00
Matthew Hatcher and Fleny
e47242a9e0
feat: api docs catchup part 1 ( #3257 )
...
* feat: add voice message support
Closes #3009
* fix: pre-commit hook EACCESS npx issue
* feat: add channel to interaction
Closes #2979
* feat: add role flags
Closes #3070
* feat: adds creator monetization, message flagged, and member timeout audit log event
Closes #3075
* feat: add attachment flags
Closes #3071
* feat: add avatar decorations
Closes #3081
* feat: update description for guild and channel permissions
Closes #3106
* feat: rename Nitro sticker packs to just sticker packs
Closes #3107
* feat: add integration type to audit log entry
Closes #3108
* feat: make position optional on modify guild channel position
Closes #3086
* feat: add guild media channel type and associated flag
Closes #3093
* feat: update remark for activities.write scope
Closes #3213
* feat: add support for super reactions
Closes #3113
* fix: attempt to fix benchmarks
* fix: benchmark attempt #2
---------
Co-authored-by: Fleny <Fleny113@outlook.com >
2023-12-04 21:54:39 +00:00
Fleny
c56bb063cb
Add missing image url function ( #3259 )
...
Exceptions:
- Achievement Icon and Store Page Asset - Game SDK
- Guild Member Banner - Doesn't have documented the banner asset hash
- User Avatar Decoration - Already included in #3257
2023-12-04 19:12:34 +00:00
Fleny
53d2bb6675
Fix resolution error for prettier ( #3258 )
2023-12-04 14:09:05 +00:00
Matthew Hatcher
a62f06c3e8
chore(deps)!: upgrade all deps to new major versions ( #3195 )
...
* 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
2023-12-04 13:57:15 +00:00
Jonathan Ho
e7d32e4be6
fix: cjs extensions for require ( #3256 )
2023-12-03 23:13:52 +00:00
Matthew Hatcher
8b3bc4bad7
feat: only require one guild delete event ( #3194 )
2023-12-02 11:30:25 +00:00
Jonathan Ho
1974834b20
feat: all cjs export ( #3189 )
...
* 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
2023-11-27 01:17:54 +00:00
rosefighter
7aed376d40
adding document use of external sounds permission ( #3187 )
2023-11-19 18:29:42 +00:00
Matthew Hatcher and Skillz4Killz
a26c7c00a4
feat: add extensions and updating settings ( #3167 )
...
* feat: add extensions and updating settings
* fix(eslint-config): add prettier plugin and upgrade prettier
* feat: add eslint extension to the recommendations
* feat: major upgrade to VSCode settings
* feat: more settings changes
* feat: add background watcher task to always build the project
* fix: various background task issues
* style: eslint
---------
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2023-10-30 07:40:31 -05:00
Skillz4Killz
0b93eed6bd
Merge branch 'main' of https://github.com/discordeno/discordeno
2023-10-28 13:32:28 +00:00
Skillz4Killz
ea9dc10589
craete bot prop
2023-10-28 13:28:35 +00:00
Skillz4Killz
59631f2fac
format
2023-10-28 13:25:09 +00:00
Skillz4Killz
ea9fca102a
fix: add option to enable all desire props
2023-10-28 13:25:02 +00:00
Skillz4Killz and H01001000
914dc30396
test: bun test ( #2798 )
...
* 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 >
2023-10-28 12:52:58 +00:00
Fleny
eb6dd978ed
fix LeakyBucket to handle refills, queue process ( #3159 )
2023-10-28 12:51:06 +00:00
Fleny
c0615a2983
refactor(gateway)!: Remove guildMemberChunk shard event ( #3151 )
...
* Remove guildMemberChunk shard event
* use DiscordMemberWithUser for requestMembers
2023-10-18 22:21:46 +00:00
Fleny
895b482a02
Add option for the header of auth on rest proxy ( #3153 )
2023-10-18 22:21:22 +00:00
Fleny
f98bb9bf75
fix(rest)!: Update OAuth2 to use the Basic authentication ( #3150 )
...
* update exchangeToken and revokeToken to use header
* update helpers file for the new signature
2023-10-15 04:32:04 +00:00
Fleny
a8f9e5ec1b
feat: allow for custom function to send the payload to shards ( #3149 )
...
* Initial work for sendPayload
* fix docs comment
2023-10-15 04:30:58 +00:00
Awesome Stickz
4a38f1a6e4
refactor: ignore handlers if events for an handler isnt provided ( #3148 )
...
* refactor: ignore handlers if events for an handler isnt provided
* style: use !event instead of event === undefined check
* fix: handleGuildDelete check
2023-10-15 04:27:55 +00:00
Jonathan Ho
6a55a6ff6f
feat(cli): add cli ( #3037 )
...
* feat(bot): add cli
* refactor: move to discordeno package
* refactor(cli): blank state
2023-10-15 04:25:08 +00:00
Fleny
730ad9a3dc
Add interactionDataOptions customizer ( #3146 )
2023-10-06 03:54:48 +00:00
Matthew Hatcher
9f5e3ab9ff
feat(utils): add embed builder ( #3145 )
...
* 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
2023-10-06 03:54:11 +00:00
Fleny
832df1697a
feat: add support for more customizers ( #3139 )
...
* feat: add support for customizers
* Fixing typescript build errors
* add customers for transformGatewayBot
and transformThreadMemberGuildCreate customizers and transformer
2023-10-01 17:03:08 +00:00
6e8f15557c
Pr/livelove1987/3138 ( #3143 )
...
* feat: Adding invite helper use transformer
* fix: Fix type error
* Update packages/bot/src/transformers/invite.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
* fixes
* fix: Fixed invite transformer
* Remove < > in comment
* Fix: remove useless const
* fix invite
* fix: ts error
---------
Co-authored-by: livelove1987 <mateusz.luboinski@gmail.com >
Co-authored-by: livelove1987 <82705913+livelove1987@users.noreply.github.com >
2023-09-30 14:58:14 -05:00
Fleny
15a7899a28
Add default_values support for SelectMenu ( #3144 )
2023-09-30 19:50:10 +00:00
Awesome Stickz
45c878d390
fix(bot): bug with overriding lastShardId if it's not provided in createBot() options ( #3141 )
...
* fix(gateway): bug with overriding lastShardId if it's not provided in createBot() options
* fix the fix
2023-09-30 14:14:05 +00:00
Fleny
42873982a2
Use desiredProperties in transformAttachment ( #3134 )
...
* Use desiredProperties in transformAttachment
* remove not necessary payload checks
* add checks for payload
2023-09-21 14:05:28 +00:00
Fleny
b1a47394a3
Use desiredProperties in transformEmoji ( #3133 )
...
* Use desiredProperties in transformEmoji
* remove not necessary payload checks
* add checks for payload
2023-09-21 14:05:11 +00:00
Fleny
39a4c07fac
Use desiredProperties in transformScheduledEvent ( #3132 )
...
* use desiredProperties in transformScheduledEvent
* add checks for payload
2023-09-21 14:04:51 +00:00
Fleny
59c320beaa
Use desiredProperties in transformStageInstance ( #3131 )
...
* Use desiredProperties in transformStageInstance
* add checks for payload
2023-09-21 14:04:32 +00:00
Fleny
1341fe0581
Use desiredProperties in transformSticker ( #3130 )
...
* Use desiredProperties in transformSticker
* add checks for payload
2023-09-21 14:04:16 +00:00
Fleny
a5d23b4924
Use desiredProperties in transformWebhook ( #3129 )
...
* Use desiredProperties in transformWebhook
* add checks for payload
2023-09-21 14:03:49 +00:00
Fleny
cb4f097510
Use desiredProperties in transformGuild ( #3128 )
...
* 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 .
2023-09-21 14:02:43 +00:00
Fleny
d75a3facc5
Use desiredProperties in transformInvite ( #3127 )
...
* Use desiredProperties in transformInvite
* remove not necessary payload checks
* add checks for payload
2023-09-21 13:52:39 +00:00