mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +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(
|
||||
{
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user