mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 21:16:09 +00:00
fix: modal response (#185)
This commit is contained in:
parent
c860d9ba84
commit
d603836bc1
@ -193,7 +193,7 @@ export class BaseInteraction<
|
|||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
} else this.matchReplied(body.data, body.type);
|
} else this.matchReplied(body.data, body.type);
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
if (body.data instanceof Modal)
|
if (body.data instanceof Modal && body.data.__exec)
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
this.client.components.modals.set(this.user.id, (body.data as Modal).__exec);
|
this.client.components.modals.set(this.user.id, (body.data as Modal).__exec);
|
||||||
await this.replied;
|
await this.replied;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user