* types: remove unintended nullables from app and base guild emojis
* feat: add ApplicationEmoji#available
* types(BaseGuildEmoji): fix incorrect JSDoc type for BaseGuildEmoji#name
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com>
* types(Emoji): switch from # to . for property deprecation links
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com>
* fix: remove default nulls in app emoji constructor on non-nullables
* types(Emoji): replace raw data type pre 78d512c
* types(Emoji): switch to ImageURLOptions for imageURL()
Re-applies changes from #10613
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com>
* types(Emoji): remove deprecated `url` props types and descriptions
Added by mistake in PR that used to target v14
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
* refactor(Emoji): wording and formatting changes to prop descriptions
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
* refactor(Emoji): missed wording and formatting change to prop descriptions
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
* fix(Emoji)!: remove non present Emoji#url from typings
* fix(Emoji): re-apply emoji url types from 2c35084
---------
Co-authored-by: Qjuh <76154676+Qjuh@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>
* fix: 🔧 don't error out if no options are provided
This commit stops calls to `options.withResponse`, etc erroring out when `interaction.update();` is called alone with no params.
* tweak: ⚙️ make options optional on typedef
* fix: 🔧 update index.d.ts
Update types to allow options to be optional
* types: add tests
---------
Co-authored-by: Almeida <github@almeidx.dev>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
* feat(api-extractor): support multiple entrypoints
* chore: initial support in generateSplitDocumentation
* chore: bring in line with upstream
* refactor: multiple entrypoints in scripts
* fix: split docs
* feat: website
* fix: docs failing on next
* fix: don't include dtypes for now
* refactor: don't fetch entrypoint if there is none
---------
Co-authored-by: iCrawl <buechler.noel@outlook.com>
* ci: update list of packages in coverage upload
* build: remove test dependencies
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* fix: message builders
- Added `clearParse`, `clearRoles`, and `clearUsers` methods to the `AllowedMentionsBuilder`, since passing an empty array and omitting the these fields behave differently
- Strictened assertions
- Removed `AttachmentBuilder#clearId`, as it is a required field
- Added missing `MessageBuilder#setEmbeds`
- Added missing `MessageReferenceBuilder#setFailIfNotExists`
- Improve/fix documentation
- Consistency™️
* fix: updater functions return type
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* docs(readme): add import statement for pure REST usage to align with other examples
Added missing `import` statements in the "Independent REST API Usage" section to maintain consistency with the rest of the README examples.
This change also ensures that the usage of `@discordjs/core` reflects a REST-only setup by importing from `@discordjs/core/http-only`, which avoids dependency issues like `Can't resolve 'zlib-sync'`.
* fix: standardize import quotes in README.md
* style: organise imports
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
* Ensure his.answers is set sooner if it's null during a patch
* Move data.answers block up as well to ensure the patched answers are set
* Ensure collection is set in constructor instead
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>