mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 21:16:09 +00:00
fix: followups called incorrectly
This commit is contained in:
parent
afe3a38e4b
commit
cac85ae063
@ -221,6 +221,7 @@ export abstract class BaseInteraction implements Model {
|
|||||||
const message = await Webhook.prototype.editMessage.call(
|
const message = await Webhook.prototype.editMessage.call(
|
||||||
{
|
{
|
||||||
id: this.session.applicationId,
|
id: this.session.applicationId,
|
||||||
|
session: this.session,
|
||||||
token: this.token,
|
token: this.token,
|
||||||
},
|
},
|
||||||
messageId,
|
messageId,
|
||||||
@ -237,6 +238,7 @@ export abstract class BaseInteraction implements Model {
|
|||||||
await Webhook.prototype.deleteMessage.call(
|
await Webhook.prototype.deleteMessage.call(
|
||||||
{
|
{
|
||||||
id: this.session.applicationId,
|
id: this.session.applicationId,
|
||||||
|
session: this.session,
|
||||||
token: this.token,
|
token: this.token,
|
||||||
},
|
},
|
||||||
messageId,
|
messageId,
|
||||||
@ -313,6 +315,7 @@ export abstract class BaseInteraction implements Model {
|
|||||||
return m;
|
return m;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
session: this.session,
|
||||||
async defer() {
|
async defer() {
|
||||||
await this.respond({
|
await this.respond({
|
||||||
type: InteractionResponseTypes.DeferredChannelMessageWithSource,
|
type: InteractionResponseTypes.DeferredChannelMessageWithSource,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user