Danial Raza
ddc927fabd
fix(Embed): address equals
method issue ( #10152 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-03-24 14:45:56 +00:00
Danial Raza
f500ad6e2e
refactor(ThreadChannel): use single thread member endpoint ( #10136 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-03-24 14:41:29 +00:00
cobalt
6cc5fa28e6
fix(types): Export ReadonlyCollection
( #10184 )
2024-03-20 13:10:34 +00:00
iCrawl
93c174bc82
chore: fix test type import
2024-03-11 18:15:21 +01:00
iCrawl
0d4c26ba4c
chore: deps
2024-03-11 17:50:39 +01:00
Qjuh
5f2095b76c
ci: use correct github tag in docs source links ( #10163 )
...
* ci: use correct github tag in docs source links
* fix: also apply on new tags
2024-03-09 13:52:38 +01:00
Superchupu
a66fc65742
ci: enable npm provenance ( #10164 )
...
* chore: enable npm provenance
* chore: do the same for dev releases
* chore: actually enable it in normal releases
* chore: specify provenance in `package.json`
* chore: remove `publishConfig` from api-extractor-utils as it's `private`
2024-03-04 21:11:32 +00:00
Qjuh
a1010c61f5
types: fix duplicate props in merged interfaces ( #10160 )
...
types(discord.js): fix duplicate props in merged interfaces
2024-03-04 11:55:01 +01:00
Superchupu
8de8371204
chore(gitattributes): mark pnpm-lock.yaml
as generated ( #10159 )
2024-03-04 00:15:47 +01:00
iCrawl
0efd1bea46
fix: anchor link for events
2024-03-04 00:02:52 +01:00
iCrawl
9fa115df86
fix: can't use node internals on edge
2024-03-03 02:36:06 +01:00
iCrawl
79fbda3aac
feat: local and preview detection
2024-03-03 02:30:08 +01:00
iCrawl
2848591e21
fix: switch out syntax highlighter themes
2024-03-03 00:54:47 +01:00
iCrawl
3fd36f745f
ci: remove debug logging
2024-03-02 22:26:09 +01:00
iCrawl
34936a0312
chore: never cache doc generation
2024-03-02 22:21:48 +01:00
iCrawl
e401841f63
ci: more logging
2024-03-02 22:14:02 +01:00
iCrawl
d6bf0fe43e
ci: logging for ci
2024-03-02 21:52:10 +01:00
iCrawl
59f4db3e1d
ci: update split upload
2024-03-02 21:19:13 +01:00
iCrawl
71bba547b6
refactor: docs ordering
2024-03-02 20:25:51 +01:00
Noel
18cce83d80
refactor: docs ( #10126 )
2024-02-29 04:37:52 +01:00
cobalt
0f9017ef95
fix(Faces): Escape backslash in Shrug
( #10156 )
...
* fix(Faces): Escape backslash in `Shrug`
* Update formatters.ts
* Update formatters.ts
* Update formatters.test.ts
2024-02-27 17:23:31 +00:00
Jiralite
efa3cac6f2
types: Update accessibility modifiers on constructors ( #10147 )
...
types: update accessibility modifiers on constructors
2024-02-23 12:51:13 +00:00
Synbulat Biishev
bfbd62e3e0
types(Builder.from): fix wrong types ( #10071 )
...
* types(Builder.from): fix wrong types
* test: add tests
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-23 11:54:41 +00:00
Almeida
c8bbdb70f2
fix(ReadonlyCollection): omit clear
method ( #10148 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-23 09:02:24 +00:00
Danial Raza
f67da74a5a
docs(ActionRow): fix deprecated message ( #10130 )
...
docs(ActionRow): fix deprecated link
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-23 00:37:43 +00:00
Almeida
bcd4c2cb23
types: use readonly array / collection types for user input ( #10045 )
...
* types: use readonly arrays
* chore: check on interface properties
* chore: ReadonlyCollection
* chore: exclude EventEmitter methods
* chore: resolve false positive
2024-02-23 00:29:06 +00:00
Jiralite
8c2ababa78
feat(guild): Add with_counts
to getting guilds ( #10143 )
...
* feat(guild): add get with counts
* refactor: simplify `query`
Co-authored-by: Almeida <almeidx@pm.me>
---------
Co-authored-by: Almeida <almeidx@pm.me>
2024-02-21 21:52:26 +00:00
Danial Raza
1d565443b0
refactor: improve structure validation with zod ( #10103 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-21 20:19:43 +00:00
Matt Rubin
906ade9cc5
refactor(oauth2): remove unnecessary dependency on 'node:url' ( #10141 )
...
This change fixes a runtime error when using '@discordjs/core/http-only' on Cloudflare Workers.
2024-02-21 20:15:26 +00:00
Almeida
c89c343b0a
types(InteractionReplyOptions): allow setting MessageFlags.SuppressNotifications
( #9199 )
2024-02-20 20:28:37 +00:00
Danial Raza
992aa67841
feat(MessageCreateOptions): add enforceNonce
( #10129 )
...
Co-authored-by: almeidx <github@almeidx.dev>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-17 18:31:14 +00:00
Danial Raza
e9d654772d
docs(ApplicationCommandPermissionsManager): remove incorrect comment ( #10123 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-17 18:03:33 +00:00
Suneet Tipirneni
543d61737e
feat: add support for using
keyword on discord.js Client
and WebSocketManager
( #10063 )
...
* feat: add support for `using` keyword on client
* fix: use async dispose
* feat: add support for web socket manager disposing
* fix: use interface for client
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-13 17:48:56 +00:00
Almeida
f48cb2a357
refactor: remove usage of mixin on error classes ( #10128 )
2024-02-13 11:54:56 +00:00
Qjuh
54106dbd81
types: replace Mixins with interface merging ( #10094 )
...
* types(TextBasedChannelMixin): refactor to user interface merging instead
* types(WebhookMixin): refactor to interface merging
* fix: ignore empty-interface tslint errors
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-11 19:26:20 +00:00
Qjuh
ce6b2b74bc
fix(docs): remove spaces in type parameter brackets ( #10127 )
...
* fix(docs): remove spaces in type parameter brackets
* fix: missing global flag
2024-02-11 18:59:03 +01:00
Qjuh
36db77f107
fix(docs): use ts types for inherited properties instead of jsdoc ( #10125 )
...
* fix(docs): use ts types for inherited properties instead of jsdoc
* fix(docs): remove spaces in type parameters
2024-02-10 21:36:25 +01:00
iCrawl
597340f288
docs: split docs.api.json into multiple json files
2024-02-06 17:24:18 +01:00
iCrawl
ae57d7facb
chore: deps
2024-02-06 01:53:30 +01:00
Jiralite
3755e66d41
fix(resolveColor): Address case for numbers ( #10115 )
...
fix(resolveColor): address case for numbers
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-05 22:11:41 +00:00
DD
c878b65ef5
refactor(WebSocketShard): payload sending ( #10098 )
...
* refactor(WebSocketShard): payload sending
* fix: adjust ratelimit state onopen
* fix: use >=
* chore: spelling
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>
2024-02-05 18:42:33 +00:00
Suneet Tipirneni
f401cff3f4
fix: Correct testing local changes in CONTRIBUTING.md
( #10066 )
...
fix: remove unneeded step for testing local changes
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-04 20:11:36 +00:00
brynpttrsn
bff1caebd1
fix(website): move function header into switcher ( #10077 )
...
fix(website): move header into switcher
2024-02-04 21:06:50 +01:00
Qjuh
ef83bc3e41
fix(api-extractor): link to enum types on inherited properties ( #10085 )
...
* fix: link to enum types on inherited properties
* fix: `undefined` in properties without access modifier
2024-02-04 21:06:03 +01:00
Qjuh
bc9b487eb1
fix(website): always link in TypeAlias ( #10105 )
...
* fix(website): always link in TypeAlias
* fix: use div instead span for DocParagraph
2024-02-04 00:39:00 +00:00
brynpttrsn
56943a72f4
fix(website): resolve linkTags in meta description ( #10088 )
...
* fix(website): resolve linkTags in summaries
* fix: case body as block
* fix: add discord-api-types support
* fix: remove urlDestination when undefined
* fix: breaks to if/else
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-03 22:10:28 +00:00
Vinayak Kulkarni
9f8d7fe7b4
build: Update husky to v9 ( #10102 )
...
* refactor(dev-deps): migrate to husky v9
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* revert: only core committers in package.json
* chore: remove hashbang 🎉
* chore: remove install from prepare script ✨
* chore: upgrade to latest minor
---------
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
Co-authored-by: almeidx <github@almeidx.dev>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-03 22:06:19 +00:00
Almeida
42bc5d2c74
fix: invert deletable message types list ( #10093 )
...
* fix: invert deletable message types list
* docs: consistency
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>
2024-02-03 21:49:11 +00:00
brynpttrsn
f69165883f
fix(website): cmdk duplicate values ( #10100 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-03 21:45:28 +00:00
Jiralite
d4472f85a5
refactor(resolveColor): Prioritise number type check ( #10116 )
...
* refactor(resolveColor): prioritise number type check
* refactor: prefer `!Number.isInteger()`
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-03 21:42:16 +00:00