Files
discord.js/packages
Jack c1f5bb2fba fix(InteractionResponses): Optional parameter for update() (#10797)
* 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>
2025-05-25 12:01:35 +00:00
..
2025-05-13 01:33:48 +02:00
2025-05-04 09:12:18 +00:00
2025-04-28 02:23:27 +02:00
2025-04-28 02:23:27 +02:00
2025-04-28 02:23:27 +02:00
2025-04-28 02:23:27 +02:00
2025-04-28 02:23:27 +02:00
2025-04-28 02:23:27 +02:00
2025-04-28 02:23:27 +02:00
2025-04-28 02:23:27 +02:00
2025-04-28 02:23:27 +02:00
2025-04-28 02:23:27 +02:00