clearer select option resolution

This commit is contained in:
MapleLeaf
2022-01-10 22:15:53 -06:00
parent 4803cb8478
commit 1a04e6093d
2 changed files with 26 additions and 13 deletions

View File

@@ -9,9 +9,12 @@ export type MessageOptions = {
actionRows: ActionRow[]
}
export type ActionRow = Array<
MessageButtonOptions | MessageLinkOptions | MessageSelectOptions
>
export type ActionRow = ActionRowItem[]
export type ActionRowItem =
| MessageButtonOptions
| MessageLinkOptions
| MessageSelectOptions
export type MessageButtonOptions = {
type: "button"