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