@minesa-org/mini-interaction 0.2.12 → 0.2.13

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.
@@ -1267,7 +1267,7 @@ export class MiniInteraction {
1267
1267
  canRespond: (id) => this.canRespond(id),
1268
1268
  trackResponse: (id, token, state) => this.trackInteractionState(id, token, state),
1269
1269
  onAck: (response) => ackResolver?.(response),
1270
- sendFollowUp,
1270
+ sendFollowUp: (token, response, messageId) => this.sendFollowUp(token, response, messageId),
1271
1271
  });
1272
1272
  response = await command.handler(interactionWithHelpers);
1273
1273
  resolvedResponse =
@@ -46,8 +46,8 @@ export interface CommandInteraction extends Omit<APIChatInputApplicationCommandI
46
46
  options: CommandInteractionOptionResolver;
47
47
  getResponse(): APIInteractionResponse | null;
48
48
  reply(data: InteractionMessageData): APIInteractionResponseChannelMessageWithSource;
49
- followUp(data: InteractionMessageData): Promise<void>;
50
49
  edit(data?: InteractionMessageData): APIInteractionResponseUpdateMessage;
50
+ followUp(data: InteractionMessageData): Promise<void>;
51
51
  editReply(data?: InteractionMessageData): Promise<void>;
52
52
  deferReply(options?: DeferReplyOptions): APIInteractionResponseDeferredChannelMessageWithSource;
53
53
  showModal(data: APIModalInteractionResponseCallbackData | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minesa-org/mini-interaction",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "description": "Mini interaction, connecting your app with Discord via HTTP-interaction (Vercel support).",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",