fix: mentionableMenu accept channels

This commit is contained in:
Socram03 2025-06-12 18:12:53 -04:00
parent 5de23ffe58
commit 935cce99f6
2 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ export class RoleSelectMenu extends SelectMenu<APIRoleSelectComponent> {
} }
} }
export type MentionableDefaultElement = { id: string; type: keyof Omit<typeof SelectMenuDefaultValueType, 'Channel'> }; export type MentionableDefaultElement = { id: string; type: keyof typeof SelectMenuDefaultValueType };
/** /**
* Represents a Select Menu for selecting mentionable entities. * Represents a Select Menu for selecting mentionable entities.

View File

@ -260,7 +260,7 @@ export type APIRoleSelectComponent = APIBaseAutoPopulatedSelectMenuComponent<
*/ */
export type APIMentionableSelectComponent = APIBaseAutoPopulatedSelectMenuComponent< export type APIMentionableSelectComponent = APIBaseAutoPopulatedSelectMenuComponent<
ComponentType.MentionableSelect, ComponentType.MentionableSelect,
SelectMenuDefaultValueType.Role | SelectMenuDefaultValueType.User SelectMenuDefaultValueType
>; >;
/** /**