iCrawl
58d9024245
chore(create-discord-bot): release create-discord-bot@0.2.1
2023-08-17 21:38:20 +02:00
iCrawl
5cd6382d1d
chore(collection): release @discordjs/collection@1.5.3
@discordjs/collection@1.5.3
2023-08-17 21:35:04 +02:00
iCrawl
fffe625a0c
chore(brokers): release @discordjs/brokers@0.2.2
@discordjs/brokers@0.2.2
2023-08-17 21:34:23 +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
Jiralite
a1605b3a5e
build: Update vite and other related dependencies ( #9772 )
...
* build: update vite and other related dependencies
* chore: use `"errors-only"`
2023-08-13 21:36:23 +02: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
Jaw0r3k
99194fc270
fix(create-discord-bot): add shebang in main file ( #9747 )
...
* fix: no running in cmd
Co-authored-by: ROB0520 <ynoreyesminecraft@gmail.com >
* chore: delete in create-discord-bot file
---------
Co-authored-by: ROB0520 <ynoreyesminecraft@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-09 09:48:58 +00:00
Almeida
cf72d42ea5
ci: upload /formatters test coverage ( #9753 )
...
chore: upload /formatters test coverage
2023-08-08 06:44:27 +00:00
iCrawl
7295a3a94a
chore(discord.js): release discord.js@14.12.1
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
3bc0dce04a
chore: fix changelog
2023-07-31 22:17:37 +02:00
iCrawl
c40f7540cd
chore(discord.js): release discord.js@15.0.0
14.12.0
2023-07-31 22:07:38 +02:00
iCrawl
1fc9308fef
chore(builders): release @discordjs/builders@1.6.4
@discordjs/builders@1.6.4
2023-07-31 21:35:26 +02:00
iCrawl
43d3b48565
chore(create-discord-bot): release create-discord-bot@0.2.0
create-discord-bot@0.2.0
2023-07-31 21:33:51 +02:00
iCrawl
8d50f2056d
chore(core): release @discordjs/core@1.0.0
@discordjs/core@1.0.0
2023-07-31 21:30:19 +02:00
iCrawl
acc560204f
chore(proxy): release @discordjs/proxy@2.0.0
@discordjs/proxy@2.0.0
2023-07-31 21:28:52 +02:00
iCrawl
ccf65c2d09
chore(ws): release @discordjs/ws@1.0.0
@discordjs/ws@1.0.0
2023-07-31 21:27:09 +02:00
iCrawl
d04987f09b
chore(rest): release @discordjs/rest@2.0.0
@discordjs/rest@2.0.0
2023-07-31 21:24:28 +02:00
iCrawl
ca5a2626b4
chore(collection): release @discordjs/collection@1.5.2
@discordjs/collection@1.5.2
2023-07-31 21:22:35 +02:00
iCrawl
3c5a4dc7a7
chore(util): release @discordjs/util@1.0.0
@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