Jiralite
eaabcdfda6
docs: Remove FileOptions ( #9855 )
...
docs: remove `FileOptions`
2023-09-26 19:44:09 +00:00
Danial Raza
19ea0baa00
refactor(GuildAuditLogsEntry): abstract reduce logic into a new function ( #9845 )
2023-09-23 22:40:45 +00:00
Jiralite
1e5c14b741
feat: Support default_thread_rate_limit_per_user in channel creation ( #9273 )
...
feat: support `default_thread_rate_limit_per_user` in channel creation
2023-09-19 18:11:46 +00:00
Jiralite
571aedd58a
feat: Add media channels ( #9662 )
...
* feat: add media channels
* refactor: rename to `ThreadOnlyChannel`
* feat: support media channels more
* docs(ThreadOnlyChannel): update class description
* types: update references
* test: add more tests
* chore: update code
* refactor: `abstract`
Co-authored-by: space <spaceeec@yahoo.com >
---------
Co-authored-by: space <spaceeec@yahoo.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-09-18 07:35:47 +00:00
Jiralite
e02a59bbb6
refactor: Stickers are free (no more "premium" packs) ( #9791 )
...
refactor: stickers are free
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-09-18 07:29:47 +00:00
Jiralite
32d614ccd3
fix(GuildScheduledEvent): Use if...else pattern and handle partials ( #9802 )
...
fix: handle partial case
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-09-18 07:26:22 +00:00
Jiralite
4588e075c3
docs(DiscordjsErrorCodes): Deprecate unused properties ( #9790 )
...
docs(DiscordjsErrorCodes): deprecate unused properties
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-09-17 21:52:38 +00:00
Jiralite
b6a2441819
feat: Support widget image URL ( #9782 )
...
* feat: add widget image URL
* docs(GuildManager): correct parameter type
Co-authored-by: space <spaceeec@yahoo.com >
---------
Co-authored-by: space <spaceeec@yahoo.com >
2023-09-17 18:26:47 +00:00
Souji
310979808e
feat(GuildAuditLogsEntry): expose extra integrationType in relevant log types ( #9796 )
...
* feat(GuildAuditLogsEntry): expose ingrationType
* fix: not optional, if extra is present on these types
not necessary, as it is conditionally assigned
* fix: remove non-extra approach
* fix(types): string is not guaranteed to be the known enum
* fix: adapt type tests to new extra properties
* fix: include null in type, since extra is not always populated
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-09-17 09:47:46 +00:00
Jaw0r3k
ed14135844
docs(ApplicationCommandManager): id parameter can take options ( #9664 )
...
* docs: mention about possible options
* chore: add suggested changes
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-09-17 09:42:36 +00:00
Danial Raza
85b24988a5
docs(Attachment): add MIME types link to contentType ( #9824 )
...
* docs(Attachment): add MIME types link to contentType
* docs: don't force locale
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-09-17 09:37:55 +00:00
Danial Raza
c66636da11
feat: add support for teams update ( #9805 )
...
* refactor(TeamMember): deprecate permissions property
* feat: add support for team member roles
* feat: add reference to external team member role enum
* docs: 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-09-15 18:18:33 +00:00
Superchupu
9dbc9542c4
types: don't include dom types ( #9831 )
...
* types: don't include dom types
* types: try to fix websocket imports
2023-09-11 19:59:36 +00:00
n1ck_pro
6404c013e7
types(Client): fix isReady narrowing ( #9828 )
...
* types(Client): fix isReady narrowing
* chore: add requested changes
* chore: test both ready cases
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-09-10 11:49:00 +00:00
Jiralite
c50809e206
docs: Fix "its" typo ( #9825 )
...
docs: fix "its" typo
2023-09-09 18:20:15 +00:00
Jeremy Rifkin
8d97e2d2c5
docs(GuildMember): Clarify timeout parameter wording ( #9800 )
...
* Update GuildMember.js
* Update GuildMember.js
* Update GuildMember.js
* Update GuildMember.js
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-09-08 07:33:09 +00:00
Jiralite
ba31972d86
build: Bump discord-api-types to 0.37.56 ( #9815 )
...
build: bump discord-api-types to 0.37.56
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-09-02 11:04:25 +00:00
Colin McDonnell
7157748fe3
docs(create-discord-bot): support bun in create-discord-bot ( #9798 )
2023-08-28 09:36:26 +02:00
Noel
e96a8a977f
build: pnpm ( #9806 )
2023-08-27 20:24:03 +02:00
Souji
485dd718c5
feat(Presence): Expose sync_id in Activity ( #9766 )
...
* feat(Presence): Expose sync_id in Activity
* chore: mention non-documentation
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-08-25 19:53:53 +00:00
iCrawl
e3127a0735
build: fix linting
2023-08-24 23:08:29 +02:00
iCrawl
6ea63d000b
chore: regen lockfile
2023-08-24 20:33:50 +02:00
iCrawl
fb81f7befb
build: refactor linting setup
2023-08-24 06:43:23 +02:00
iCrawl
d37632da05
build: refactor linting
2023-08-22 09:40:11 +02:00
iCrawl
1e3aed0d97
chore: config overhaul
2023-08-22 01:33:47 +02:00
iCrawl
5d7c59c301
chore: deps
2023-08-22 00:30:08 +02:00
Jiralite
899bc5f78b
build: bump Undici and discord-api-types ( #9779 )
...
* build: bump discord-api-types
* build: bump Undici too
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-21 21:00:14 +00:00
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