We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 68df8c9 + 335585e commit d169067Copy full SHA for d169067
src/lib/structures/contexts/CommandContext.ts
@@ -104,7 +104,7 @@ export class CommandContext<
104
| MessagePayload
105
| InteractionReplyOptions,
106
): Promise<Fetch extends true ? GuildCacheMessage<Cached> : void> {
107
- return this.deferred || this.replied
+ return this.deferred || this.replied || this.interaction?.deferred || this.interaction?.replied
108
? this.editReply(options)
109
: this.reply(options);
110
}
0 commit comments