Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Components): new select menus #602

Merged
merged 9 commits into from
Oct 20, 2022
9 changes: 9 additions & 0 deletions deno/payloads/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1329,6 +1329,15 @@ export enum ComponentType {
* Select menu for channels
*/
ChannelSelect,

// EVERYTHING BELOW THIS LINE SHOULD BE OLD NAMES FOR RENAMED ENUM MEMBERS //

/**
* Select menu for picking from defined options
*
* @deprecated This is the old name for {@apilink ChannelType#StringSelect}
*/
SelectMenu = 3,
}

/**
Expand Down
9 changes: 9 additions & 0 deletions deno/payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1328,6 +1328,15 @@ export enum ComponentType {
* Select menu for channels
*/
ChannelSelect,

// EVERYTHING BELOW THIS LINE SHOULD BE OLD NAMES FOR RENAMED ENUM MEMBERS //

/**
* Select menu for picking from defined options
*
* @deprecated This is the old name for {@apilink ChannelType#StringSelect}
*/
SelectMenu = 3,
}

/**
Expand Down
9 changes: 9 additions & 0 deletions payloads/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1329,6 +1329,15 @@ export enum ComponentType {
* Select menu for channels
*/
ChannelSelect,

// EVERYTHING BELOW THIS LINE SHOULD BE OLD NAMES FOR RENAMED ENUM MEMBERS //

/**
* Select menu for picking from defined options
advaith1 marked this conversation as resolved.
Show resolved Hide resolved
*
* @deprecated This is the old name for {@apilink ChannelType#StringSelect}
advaith1 marked this conversation as resolved.
Show resolved Hide resolved
*/
SelectMenu = 3,
}

/**
Expand Down
9 changes: 9 additions & 0 deletions payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1328,6 +1328,15 @@ export enum ComponentType {
* Select menu for channels
*/
ChannelSelect,

// EVERYTHING BELOW THIS LINE SHOULD BE OLD NAMES FOR RENAMED ENUM MEMBERS //

/**
* Select menu for picking from defined options
*
* @deprecated This is the old name for {@apilink ChannelType#StringSelect}
*/
SelectMenu = 3,
}

/**
Expand Down