mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
feat(Interactions): improve error handling for ephemeral responses (#5892)
Co-authored-by: muchnameless <12682826+muchnameless@users.noreply.github.com>
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -509,6 +509,7 @@ declare module 'discord.js' {
|
||||
public commandID: Snowflake;
|
||||
public commandName: string;
|
||||
public deferred: boolean;
|
||||
public ephemeral: boolean | null;
|
||||
public options: Collection<string, CommandInteractionOption>;
|
||||
public replied: boolean;
|
||||
public webhook: InteractionWebhook;
|
||||
@@ -1368,6 +1369,7 @@ declare module 'discord.js' {
|
||||
public componentType: MessageComponentType;
|
||||
public customID: string;
|
||||
public deferred: boolean;
|
||||
public ephemeral: boolean | null;
|
||||
public message: Message | RawMessage;
|
||||
public replied: boolean;
|
||||
public webhook: InteractionWebhook;
|
||||
|
||||
Reference in New Issue
Block a user