dependabot[bot]
af6ffc356d
build(deps): bump commander from 12.0.0 to 12.1.0 ( #3731 )
...
Bumps [commander](https://github.com/tj/commander.js ) from 12.0.0 to 12.1.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/v12.0.0...v12.1.0 )
---
updated-dependencies:
- dependency-name: commander
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-07-13 08:52:56 -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
dependabot[bot]
f9bdfce589
build(deps-dev): bump eslint-plugin-n from 16.6.2 to 17.9.0 ( #3727 )
...
Bumps [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n ) from 16.6.2 to 17.9.0.
- [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases )
- [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/16.6.2...v17.9.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-n
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-13 08:52:35 -05:00
Fleny
7836ec393f
Add missing proprieties on channel ( #3736 )
2024-07-13 08:52:05 -05:00
dependabot[bot]
e30e5a2a6b
build(deps-dev): bump prettier from 3.2.5 to 3.3.3 ( #3743 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.2.5 to 3.3.3.
- [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.5...3.3.3 )
---
updated-dependencies:
- dependency-name: 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>
2024-07-13 08:50:33 -05:00
dependabot[bot]
d1a91b9182
build(deps-dev): bump @typescript-eslint/parser from 7.15.0 to 7.16.0 ( #3739 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 7.15.0 to 7.16.0.
- [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.16.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
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:50:14 -05:00
Fleny
c7e0ccc87c
always log close.code in debug, log close.code in info log ( #3740 )
2024-07-13 08:49:53 -05:00
Fleny
727c7104ed
Rename channel.autoArchiveDuration to defaultAutoArchiveDuration ( #3741 )
2024-07-13 08:19:26 -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
9ec197a9b3
Feat: resharding ( #3014 )
...
* feat: base work for reshardinf system
* fix: magic
* fix: y did i do this
* Fix typings for checkIfReshardingIsNeeded
* Update packages/gateway/src/manager.ts
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
* Update packages/gateway/src/manager.ts
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
* Update packages/gateway/src/manager.ts
Co-authored-by: LTS20050703 <lts20050703@gmail.com >
* fix: checking info.firstShardId, lastShardId
* fix: checking pending shards against totalShards instead of total used shards
* fix: changing new shards' message event when trying to change old shards' message event, causing it to be unable to process those events
* ci can stop crying now
* chore: specify usaage of updateGuildsShardId
* move executing updateGuildsShardId from shard.events to shard.forwardToBot as none of those events are being executed
* remove todo
* fix: calculateTotalShards() for bots in over 100k servers that don't have LBS and update comments
* use logger.debug in updateGuildsShardId instead of logger.warn
* feat: automatic resharding
* move auto resharding into gateway.spawnShards() and clear interval on gateway.shutdown()
* fix: both old shards and new shards processing events at the same time
* Copy all shard events provided in the options to new shards instead of just the mesasge event
* Added clearReshardingInterval parameter to manager.shutdown function so reshard function doesn't end up clearing this interval
---------
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
Co-authored-by: Fleny <fleny113@outlook.com >
Co-authored-by: LTS20050703 <lts20050703@gmail.com >
2024-07-09 19:10:56 -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
3daf71a507
Use bigint for permission flags ( #3726 )
...
Also convert the enum to an object as typescript doesn't like bigint in an enum
2024-07-09 09:23:46 -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
2f89d4da30
Add partial guild to interaction ( #3618 )
...
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2024-07-07 16:32:06 -05:00
Fleny
24ea6f8af8
fix(bot)!: Guild features type ( #3719 )
...
* Fix guild features type, remove useless features des prop
* Add missing guild features
2024-07-07 16:14:13 -05:00
Fleny and Awesome Stickz
f479660642
Document blocking words in member profiles automod ( #3642 )
...
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2024-07-07 22:16:22 +05:30
Fleny and Awesome Stickz
749acbca60
Add the Guild Incident message types ( #3646 )
...
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2024-07-07 21:46:43 +05:30
Fleny
aecc55d150
fix(bot)!: Add guild.features to guild transformer ( #3705 )
...
* Add guild.features to guild transformer
* Use a getter on the toggles for features
2024-07-07 10:39:04 -05:00
Fleny
2def050845
feat(types)!: Add flags enums ( #3717 )
...
* Add flags enums
* Remove extra MessageFlags enum from `@discordeno/bot`
This is not a breaking in itself as `@discordeno/types` has this enum
* Fix CI error, remove usage of MessageFlags and SkuFlags
* Revert "remove usage of MessageFlags and SkuFlags"
This reverts part of commit 954b347ebb .
* fix ci error
2024-07-07 10:37:49 -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
b16e9b70a0
fix(types): Update max poll duration and defaults for creating a poll ( #3694 )
...
* Change the max duration of poll from 7 days to 32
* Update default values for poll creation (#3701 )
---------
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2024-07-07 10:25:56 -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
Fleny and Skillz4Killz
48bc543e09
Add avatarDecorationData to guildMemberUpdate ( #3679 )
...
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2024-07-07 00:56:16 -05:00
Fleny and Skillz4Killz
a1af1ff910
Adds premium interaction ( #3680 )
...
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2024-07-06 17:04:05 -05:00
Fleny
a2d8afb462
Document the position behavior for duplicate position values ( #3690 )
2024-07-06 16:30:19 -05:00
Fleny
9cea65f761
Add invite type ( #3614 )
2024-07-06 16:30:05 -05:00
Fleny
9cca689688
Add Attachment title ( #3691 )
2024-07-06 16:19:06 -05:00
Fleny
f57e2e962f
Add guildId to guildStickersUpdate event ( #3706 )
2024-07-06 16:08:25 -05:00
Fleny
e12142daf6
Use %20 instead of ' ' for joining scopes ( #3709 )
2024-07-06 15:56:48 -05:00
Fleny
39b18a1682
Use bot.transformers.emoji in handleGuildEmojisUpdate ( #3704 )
2024-07-06 19:12:54 +00:00
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
dependabot[bot]
893639c9cc
build(deps): bump ws from 8.16.0 to 8.18.0 ( #3707 )
...
Bumps [ws](https://github.com/websockets/ws ) from 8.16.0 to 8.18.0.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.16.0...8.18.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>
2024-07-06 13:50:54 -05:00
dependabot[bot]
0d9c4dada6
build(deps-dev): bump @typescript-eslint/parser from 7.0.2 to 7.15.0 ( #3710 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 7.0.2 to 7.15.0.
- [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.15.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
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:07:21 -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
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 and Awesome Stickz
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 and Awesome Stickz
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 and Awesome Stickz
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