mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 21:16:09 +00:00
fix: modal method (#170)
This commit is contained in:
parent
5baa921b7c
commit
ad08a85dea
@ -6,6 +6,7 @@ import {
|
||||
type InteractionMessageUpdateBodyRequest,
|
||||
type UnionToTuple,
|
||||
type When,
|
||||
type ModalCreateBodyRequest,
|
||||
} from '../../common';
|
||||
import {
|
||||
Message,
|
||||
@ -73,8 +74,8 @@ export class MenuCommandContext<
|
||||
return this.interaction.write(body, fetchReply);
|
||||
}
|
||||
|
||||
get modal() {
|
||||
return this.interaction.modal;
|
||||
modal(body: ModalCreateBodyRequest) {
|
||||
return this.interaction.modal(body);
|
||||
}
|
||||
|
||||
deferReply(ephemeral = false) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user