mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 17:30:07 +00:00
use enums
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { DiscordMessageComponentTypes } from "./message_component_types.ts";
|
||||
|
||||
export interface SelectMenuData {
|
||||
/** The type of component */
|
||||
componentType: 3;
|
||||
componentType: DiscordMessageComponentTypes.SelectMenu;
|
||||
/** The custom id provided for this component. */
|
||||
customId: string;
|
||||
/** The values chosen by the user. */
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import { DiscordMessageComponentTypes } from "./message_component_types.ts";
|
||||
import { SelectOption } from "./select_option.ts";
|
||||
|
||||
export interface SelectMenuComponent {
|
||||
type: 3;
|
||||
type: DiscordMessageComponentTypes.SelectMenu;
|
||||
/** A custom identifier for this component. Maximum 100 characters. */
|
||||
customId: string;
|
||||
/** A custom placeholder text if nothing is selected. Maximum 100 characters. */
|
||||
|
||||
Reference in New Issue
Block a user