prettier .-.
This commit is contained in:
parent
a887608d30
commit
c41b4f6364
@ -253,7 +253,12 @@ export interface MessageComponent {
|
|||||||
|
|
||||||
export interface ActionRowComponent extends MessageComponent {
|
export interface ActionRowComponent extends MessageComponent {
|
||||||
type: MessageComponentType.ActionRow;
|
type: MessageComponentType.ActionRow;
|
||||||
components: (ButtonComponent | StringSelectMenuComponent | SelectMenuComponent | TextInputComponent)[];
|
components: (
|
||||||
|
| ButtonComponent
|
||||||
|
| StringSelectMenuComponent
|
||||||
|
| SelectMenuComponent
|
||||||
|
| TextInputComponent
|
||||||
|
)[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ButtonComponent extends MessageComponent {
|
export interface ButtonComponent extends MessageComponent {
|
||||||
@ -277,7 +282,12 @@ export enum ButtonStyle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface SelectMenuComponent extends MessageComponent {
|
export interface SelectMenuComponent extends MessageComponent {
|
||||||
type: MessageComponentType.StringSelect | MessageComponentType.UserSelect | MessageComponentType.RoleSelect | MessageComponentType.MentionableSelect | MessageComponentType.ChannelSelect;
|
type:
|
||||||
|
| MessageComponentType.StringSelect
|
||||||
|
| MessageComponentType.UserSelect
|
||||||
|
| MessageComponentType.RoleSelect
|
||||||
|
| MessageComponentType.MentionableSelect
|
||||||
|
| MessageComponentType.ChannelSelect;
|
||||||
custom_id: string;
|
custom_id: string;
|
||||||
channel_types?: number[];
|
channel_types?: number[];
|
||||||
placeholder?: string;
|
placeholder?: string;
|
||||||
|
@ -16,7 +16,12 @@
|
|||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { ActionRowComponent, Embed, PollAnswer, PollMedia } from "@spacebar/util";
|
import {
|
||||||
|
ActionRowComponent,
|
||||||
|
Embed,
|
||||||
|
PollAnswer,
|
||||||
|
PollMedia,
|
||||||
|
} from "@spacebar/util";
|
||||||
|
|
||||||
type Attachment = {
|
type Attachment = {
|
||||||
id: string;
|
id: string;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user