iCrawl
ccf65c2d09
chore(ws): release @discordjs/ws@1.0.0
2023-07-31 21:27:09 +02:00
iCrawl
d04987f09b
chore(rest): release @discordjs/rest@2.0.0
2023-07-31 21:24:28 +02:00
iCrawl
ca5a2626b4
chore(collection): release @discordjs/collection@1.5.2
2023-07-31 21:22:35 +02:00
iCrawl
3c5a4dc7a7
chore(util): release @discordjs/util@1.0.0
2023-07-31 21:18:33 +02:00
iCrawl
447652ec8a
chore: format
2023-07-31 21:08:13 +02:00
iCrawl
488aa58b29
chore: fixup yarn.lock
2023-07-30 23:16:45 +02:00
iCrawl
a92d19212d
ci: publishing dev version semver
2023-07-30 23:08:46 +02:00
iCrawl
fd8197fe5b
chore: deps
2023-07-30 02:13:39 +02:00
ckohen
8f4256db8a
refactor(REST): remove double classing ( #9722 )
...
* refactor(REST): remove double classing
BREAKING CHANGE: `REST` and `RequestManager` have been combined, most of the properties, methods, and events from both classes can now be found on `REST`
BREAKING CHANGE: `REST#raw` has been removed in favor of `REST#queueRequest`
BREAKING CHANGE: `REST#getAgent` has been removed in favor of `REST#agent`
* chore: update for /rest changes
2023-07-25 08:40:21 +00: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
Vlad Frangu
386f206caf
feat: no-de-no-de, now with extra buns ( #9683 )
...
BREAKING CHANGE: The REST and RequestManager classes now extend AsyncEventEmitter
from `@vladfrangu/async_event_emitter`, which aids in cross-compatibility
between Node, Deno, Bun, CF Workers, Vercel Functions, etc.
BREAKING CHANGE: DefaultUserAgentAppendix has been adapted to support multiple
different platforms (previously mentioned Deno, Bun, CF Workers, etc)
BREAKING CHANGE: the entry point for `@discordjs/rest` will now differ
in non-node-like environments (CF Workers, etc.)
Co-authored-by: Suneet Tipirneni <77477100+suneettipirneni@users.noreply.github.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: suneettipirneni <suneettipirneni@icloud.com>
2023-07-17 08:27:57 +02:00
David Malchin
351a18bc35
feat(create-discord-bot): throw error if the directory is a file ( #9719 )
2023-07-16 17:38:22 +00:00
Suneet Tipirneni
84f1b1890d
feat(create-discord-bot): Add prompts, command handler and deployment script ( #9570 )
...
* feat(create-discord-bot): Add prompts, command handler and deployment script
* fix: revert package template name
* chore: make requested changes
* chore: make requested changes
* fix: remove uneeded listeners
* fix: use `0` for eslint
* fix: remaining requested changes
* chore: requested changes
* fix: remove redundant call
2023-07-16 17:13:18 +00: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
David Malchin
bc83cabfda
feat(WebhooksAPI): allow with token
requests without bot auth ( #9715 )
...
* Also move `get`'s `token` parameter to options.
2023-07-16 10:25:29 +00:00
brynpttrsn
20268ac0c4
feat(website): switch overload on hash location ( #9699 )
...
* feat(website): switch overload on hash location
* Update apps/website/src/components/OverloadSwitcher.tsx
---------
Co-authored-by: Noel <buechler.noel@outlook.com>
2023-07-15 19:34:28 +02: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
brynpttrsn
4141405dcd
fix(website): type alias search symbol ( #9705 )
2023-07-15 19:25:56 +02:00
David Malchin
8c782bfd52
fix(WebSocketShard): close errors not being catchable ( #9704 )
...
* fix(WebSocketShard): close errors not being catchable
* fix(WebSocketShard): requested changes
2023-07-15 10:55:05 +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
DD
ceab07bec8
refactor(WebSocketShard): throttling error handling ( #9701 )
...
* refactor(WebSocketShard): handle unknown identify errors
* chore: use better abort check
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-12 17:19:11 +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
David Malchin
78381a56cf
feat(ChannelsAPI): add permission overwrites ( #9651 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-06 13:55:29 +00:00
Suneet Tipirneni
6d5840c61e
fix(core): fix inconsistencies on core
( #9680 )
...
* fix(core): fix inconsistencies on `core`
* fix: add `createForumPost` back
* fix: create -> createWebhook
2023-07-06 13:35:10 +00:00
ShadowAya
75d91b52b3
setNameLocalization typo ( #9656 )
...
fix JSDoc typo in NameAndDescription.ts > setNameLocalization
2023-06-17 14:29:35 +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 MessageComponentInteraction
s ( #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
Jiralite
2818d7cc1d
fix(client): Add missing application command permissions update event ( #9639 )
...
fix(client): add missing event
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-14 18:11:00 +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
GrapeColor
a873ec1e85
feat: Add message to send resume event to shard ( #9626 )
...
* fix(WebSocketManager): Fix not ready after reconnect
* fix(WebSocketManager): Move fixes from Ready to Resume
* fix: undo changes
* feat: Add message to send resume event to shard
---------
Co-authored-by: GrapeColor <grapecolor@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-14 11:43:23 +00:00
dependabot[bot]
db925fa269
build(deps-dev): bump vite from 4.3.8 to 4.3.9 ( #9625 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.3.8 to 4.3.9.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.3.9/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-13 19:20:07 +00:00
Ryan Munro
8f3bd38072
fix(User): check global name in equals ( #9631 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-13 19:17:21 +00:00
ckohen
8f014c65ef
chore: unpin rest, unbump node version req ( #9632 )
...
* chore: unpin rest, unbump node version req
* chore: update readmes
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-13 19:08:35 +00:00
brynpttrsn
1716202f44
fix(website): Overload switcher duplicates reference links ( #9614 )
...
fix(website): add idx to link key
2023-06-13 21:01:18 +02:00
Rodrigo Leitão
1cab79f6fd
types(ModalSubmitFields): components is an array ( #9406 )
...
* types(ModalSubmitFields): components is an array
* types(ModalSubmitFields): make type coherent with docs
* refactor(ModalSubmitInteraction): remove undefined props
2023-06-13 20:58:50 +02:00