fix: Modal reply event failed

#1201 #1200 #1064
This commit is contained in:
Elysia
2024-07-04 17:26:04 +07:00
parent f7bb7a4bdd
commit f63b1528d4
5 changed files with 59 additions and 118 deletions

1
typings/index.d.ts vendored
View File

@@ -2278,6 +2278,7 @@ export class Modal {
public channelId: Snowflake;
public readonly channel: TextBasedChannel;
public readonly guild: Guild | null;
public readonly replied: boolean;
public reply(): Promise<Message | Modal>;
public toJSON(): RawModalSubmitInteractionData;
}