@minesa-org/mini-interaction 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -144,6 +144,7 @@ export interface CommandInteraction extends Omit<APIChatInputApplicationCommandI
|
|
|
144
144
|
reply(data: InteractionMessageData): APIInteractionResponseChannelMessageWithSource;
|
|
145
145
|
followUp(data: InteractionMessageData): APIInteractionResponseChannelMessageWithSource;
|
|
146
146
|
edit(data?: InteractionMessageData): APIInteractionResponseUpdateMessage;
|
|
147
|
+
editReply(data?: InteractionMessageData): APIInteractionResponseUpdateMessage;
|
|
147
148
|
deferReply(options?: DeferReplyOptions): APIInteractionResponseDeferredChannelMessageWithSource;
|
|
148
149
|
showModal(data: APIModalInteractionResponseCallbackData | {
|
|
149
150
|
toJSON(): APIModalInteractionResponseCallbackData;
|
|
@@ -379,6 +379,9 @@ export function createCommandInteraction(interaction) {
|
|
|
379
379
|
edit(data) {
|
|
380
380
|
return createMessageResponse(InteractionResponseType.UpdateMessage, data);
|
|
381
381
|
},
|
|
382
|
+
editReply(data) {
|
|
383
|
+
return createMessageResponse(InteractionResponseType.UpdateMessage, data);
|
|
384
|
+
},
|
|
382
385
|
deferReply(options) {
|
|
383
386
|
return createDeferredResponse(options?.flags !== undefined
|
|
384
387
|
? { flags: options.flags }
|
package/package.json
CHANGED