File tree Expand file tree Collapse file tree 3 files changed +2
-1
lines changed Expand file tree Collapse file tree 3 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 128128 * @property {'InteractionAlreadyReplied' } InteractionAlreadyReplied
129129 * @property {'InteractionNotReplied' } InteractionNotReplied
130130 * @property {'InteractionEphemeralReplied' } InteractionEphemeralReplied
131+ * <warn>This property is deprecated.</warn>
131132
132133 * @property {'CommandInteractionOptionNotFound' } CommandInteractionOptionNotFound
133134 * @property {'CommandInteractionOptionType' } CommandInteractionOptionType
Original file line number Diff line number Diff line change @@ -164,7 +164,6 @@ class InteractionResponses {
164164 * .catch(console.error);
165165 */
166166 async deleteReply ( ) {
167- if ( this . ephemeral ) throw new DiscordjsError ( ErrorCodes . InteractionEphemeralReplied ) ;
168167 await this . webhook . deleteMessage ( '@original' ) ;
169168 }
170169
Original file line number Diff line number Diff line change @@ -3246,6 +3246,7 @@ export enum DiscordjsErrorCodes {
32463246
32473247 InteractionAlreadyReplied = 'InteractionAlreadyReplied' ,
32483248 InteractionNotReplied = 'InteractionNotReplied' ,
3249+ /** @deprecated */
32493250 InteractionEphemeralReplied = 'InteractionEphemeralReplied' ,
32503251
32513252 CommandInteractionOptionNotFound = 'CommandInteractionOptionNotFound' ,
You can’t perform that action at this time.
0 commit comments