diff --git a/packages/core/src/structures/interactions.ts b/packages/core/src/structures/interactions.ts index 24b3550..88224bc 100644 --- a/packages/core/src/structures/interactions.ts +++ b/packages/core/src/structures/interactions.ts @@ -221,6 +221,7 @@ export abstract class BaseInteraction implements Model { const message = await Webhook.prototype.editMessage.call( { id: this.session.applicationId, + session: this.session, token: this.token, }, messageId, @@ -237,6 +238,7 @@ export abstract class BaseInteraction implements Model { await Webhook.prototype.deleteMessage.call( { id: this.session.applicationId, + session: this.session, token: this.token, }, messageId, @@ -313,6 +315,7 @@ export abstract class BaseInteraction implements Model { return m; } + session: this.session, async defer() { await this.respond({ type: InteractionResponseTypes.DeferredChannelMessageWithSource,