iCrawl
8eb978d32c
chore(discord.js): release discord.js@14.13.0
2023-08-17 21:45:00 +02:00
iCrawl
7321c291da
chore: revert bump
2023-08-17 21:33:46 +02:00
iCrawl
ab3efb0211
chore(discord.js): release discord.js@14.13.0
2023-08-17 21:31:59 +02:00
iCrawl
7fa9ea3f0f
chore: pin discord-api-deps, revert undici
2023-08-17 21:31:04 +02:00
iCrawl
af0f1aa765
chore(discord.js): release discord.js@14.13.0
2023-08-17 21:09:00 +02:00
iCrawl
99cadfd82b
chore: deps
2023-08-17 21:08:09 +02:00
Jiralite
8f572a6bad
docs(EmbedBuilder): @readonly length ( #9778 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-17 19:07:02 +00:00
Jaw0r3k
d90ba8dce8
feat(Client): add deleteWebhook method ( #9777 )
...
* feat(Client): deleteWebhook method
* Update packages/discord.js/src/client/Client.js
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* chore: suggested changes
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-17 16:12:05 +00:00
Jiralite
24fbb11ba2
fix(Action): Do not add the client user as a recipient ( #9774 )
...
fix(Action): do not add the client user as a recipient
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-14 17:24:00 +00:00
Jiralite
727dc094d5
types(GuildInvitableChannelResolvable): Allow forum channels ( #9775 )
...
types(GuildInvitableChannelResolvable): allow forum channels
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-14 17:19:47 +00:00
Jiralite
d5be4242c6
docs(WebhookEditOptions): Add all of the types ( #9776 )
...
docs(WebhookEditOptions): add all the types
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-14 17:16:24 +00:00
Jiralite
c1ff545bf1
fix(DMChannel): Correct partial typo ( #9773 )
...
fix(DMChannel): correct partial typo
2023-08-14 17:11:46 +00:00
Toast
188877c50a
docs: Update Node.js requirement to 16.11.0 ( #9764 )
...
* Update Node.js requirement in README file
* chore: update the rest of files with nodejs 16.11.0
* Update 03-updating-to-v14.mdx
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-08-13 19:49:33 +00:00
advaith
9ed1b59df6
feat(ClientPresence): allow setting activity state ( #9743 )
...
* feat(ClientPresence): allow setting activity state
* fix: add to map
* feat: use name as fallback state
2023-08-12 11:31:29 +00:00
Jaw0r3k
0a9a3ede29
typings: Make activity name required ( #9765 )
...
* fix: activity name is required
* chore: add suggested changes
Co-authored-by: Aura Román <kyradiscord@gmail.com >
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Aura Román <kyradiscord@gmail.com >
2023-08-12 11:12:33 +00:00
ckohen
346fa57f95
fix(CachedManager): allow overriding constructor for makeCache ( #9763 )
...
* fix(CachedManager): allow overriding constructor for makeCache
* feat: allow determining makeCache based on non-overriden constructor
* types: cleanup leftovers
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-12 07:08:47 +00:00
Lily Bergonzat
b3c85d34a6
fix(types): fixed CachedManager constructor arguments in type ( #9761 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-11 10:04:13 +00:00
Jiralite
d8e37551ce
fix(Action): Do not set undefined values ( #9755 )
...
fix(Action): do not set `undefined` values
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-11 07:19:59 +00:00
Jiralite
a30d46c5f5
types(BaseButtonComponentData): Narrow component type ( #9735 )
...
* types(BaseButtonComponentData): narrow `type`
* test: fix suddenly broken tests
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-11 07:15:05 +00:00
Jiralite
632a9b4965
feat(ClientApplication): Approximate guild count and new GET route ( #9713 )
...
* feat: add approx guild count and get route
* refactor: replace route
* docs: update description of class
The replacement route justifies this change.
* feat(ClientApplication): add `approximateGuildCount`
* refactor: revert now-unnecessary changes
2023-08-11 07:11:13 +00:00
n1ck_pro
3b18e5b08d
feat(Role): add flags ( #9694 )
...
* feat(Role): add `flags`
* types: use RoleFlags enum
* Update packages/discord.js/typings/index.d.ts
Co-authored-by: Jaw0r3k <jaworekwiadomosci@gmail.com >
---------
Co-authored-by: Jaw0r3k <jaworekwiadomosci@gmail.com >
2023-08-10 21:20:13 +00:00
Almeida
692f0fc96d
feat(Attachment): add flags ( #9686 )
...
* feat(Attachment): add `flags`
* fix: import
* fix: flags casing
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-10 20:53:54 +00:00
Synbulat Biishev
0de071d0a5
feat: add Client#webhooksUpdate ( #9732 )
...
* feat: add `Client#webhooksUpdate`
* feat: add deprecation in the types
* docs: add full stops
* types: reference non-deprecated type
This helps with future-proofing (deduplication).
* docs(ClientEvents): fix reference link
This now hyperlinks correctly with IntelliSense.
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-09 14:15:00 +00:00
iCrawl
7295a3a94a
chore(discord.js): release discord.js@14.12.1
2023-08-01 02:23:51 +02:00
n1ck_pro
1af7e5a0bb
fix(BaseClient): fix destroy method ( #9742 )
2023-07-31 22:18:11 +00:00
iCrawl
c40f7540cd
chore(discord.js): release discord.js@15.0.0
2023-07-31 22:07:38 +02:00
iCrawl
fd8197fe5b
chore: deps
2023-07-30 02:13:39 +02:00
Saya
6307f81385
feat: add ws option support for "buildIdentifyThrottler" ( #9728 )
...
* feat: add option support for "buildIdentifyThrottler"
* docs: add documentation for buildIdentifyThrottler
* docs: fix example code
2023-07-22 08:57:24 +00:00
iCrawl
d26e022afc
chore: deps
2023-07-19 11:59:42 +02:00
iCrawl
afa98793cd
chore: deps
2023-07-17 09:45:07 +02:00
Jiralite
e5effb6f6a
docs: Change Channel to BaseChannel ( #9718 )
...
docs: change `Channel` to `BaseChannel`
2023-07-16 15:06:14 +00:00
Jiralite
125405f1cf
docs(BaseChannel): Remove APIChannel ( #9717 )
...
docs(BaseChannel): remove `APIChannel`
2023-07-16 14:59:35 +00:00
Aura Román
3c85fb21e6
feat(Client): add guildAvailable event ( #9692 )
...
* feat(Client): add `guildAvailable` event
* refactor: sort entries alphabetically
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-15 17:33:47 +00:00
Almeida
8d97017458
feat: user avatar decorations ( #8914 )
...
feat(User): add avatar decorations
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-07-13 20:33:38 +00:00
Jiralite
7fb91c57f7
fix(ChannelUpdate): Check against unknown channels ( #9697 )
...
fix(ChannelUpdate): check against unknown channels
2023-07-11 18:13:25 +00:00
Aura Román
09b0382c45
perf(Channel): linear speed position getter ( #9497 )
...
* perf(Channel): linear speed position getter
* fix: add another set of parens
* perf: lower memory and CPU usage
* refactor: add shared private utility for group types
* perf: improve readability and performance
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
* feat: add support for voice sortables
---------
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-09 20:57:33 +00:00
Jiralite
719e54a921
fix(Action): Use existing recipients if available ( #9653 )
...
* fix(Action): use existing recipients if available
* fix: account for message delete -> interaction
* fix(Action): use `last_message_id` if it exists
* refactor(Action): use ternary
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-09 19:30:48 +00:00
Jiralite
ede9f4e5e2
docs(BuildersSelectMenuOption): Update link ( #9690 )
...
docs(BuildersSelectMenuOption): update link
2023-07-09 19:26:21 +00:00
MovementGH
df40dcdb85
feat: add silent option to ShardingManager ( #9506 )
...
* feat: add silent option to ShardingManager
* chore: update ShardingManagerOptions type
* chore: update typings
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-07-07 23:32:29 +00:00
RedGuy12
53c17e00c0
feat(EmbedBuilder): add .length ( #8682 )
...
* feat(Embed): add `.length`
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* Move to mainlib
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* types: add typings
---------
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-07 21:53:19 +00:00
Almeida
dc73c938ff
feat: guild onboarding ( #9120 )
...
* feat: guild onboarding
* feat: types and /core method
* fix: route
* fix: make emoji name non-nullable
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-07 21:48:17 +00:00
Jiralite
a48d0efb09
types(MessageManager): Allow comparison of messages again ( #9612 )
...
* types(MessageManager): allow comparison of messages again
* feat: match TypeScript
* docs: update wording
* chore: revert breaking change
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-07 21:39:01 +00:00
GrapeColor
a73d54e43a
feat: add resume event in shard ( #9650 )
...
Co-authored-by: GrapeColor <grapecolor@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-07 21:34:42 +00:00
Rodrigo Leitão
cf8012c200
refactor(User): remove deprecation warning from tag ( #9660 )
...
* refactor(User): remove deprecation warning from tag
* fix: remove unnecessary declarations
* style: fix formatting issue
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-06 16:49:03 +00:00
Synbulat Biishev
0803eb562b
fix: everyone role members ( #9685 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-06 14:09:31 +00:00
Almeida
766be94b93
chore: bump discord-api-types to 0.37.45 ( #9654 )
2023-06-15 19:06:52 +00:00
RedGuy12
b61e4fb0dc
fix: awaitMessageComponent with MessageComponentInteractions ( #8598 )
...
* fix: `awaitMessageComponent` with `MessageComponentInteraction`s
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* Update packages/discord.js/src/structures/InteractionCollector.js
Co-authored-by: Almeida <almeidx@pm.me >
* types: revert unrelated changes
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* Remove unneeded truey check
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* chore: remove extra block
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* fix: `awaitMessageComponent` with `MessageComponentInteraction`s
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* fix: `awaitMessageComponent` with `MessageComponentInteraction`s
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
---------
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-14 18:25:53 +00:00
Jiralite
d64330a157
types(AutoModerationActionExecution): Add forum channels as a possible type in channel() ( #9623 )
...
types(AutoModerationActionExecution): type forum channels
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-14 18:14:16 +00:00
RedGuy12
a6dbe163dd
fix(ThreadManager): Fix internal crash upon conditionally resolving thread members ( #9648 )
...
* fix(ThreadManager): Fix crash
* chore: prettier
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-14 18:07:48 +00:00
Souji
73c2f8aa17
feat(presence): re-introduce image resolving for other platforms ( #9637 )
...
* spotify, youtube, twitch
* regression born from misunderstanding in 9a6e691
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-14 17:45:28 +00:00