mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 12:36:08 +00:00
fix: mentionableMenu accept channels
This commit is contained in:
parent
5de23ffe58
commit
935cce99f6
@ -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.
|
||||
|
@ -260,7 +260,7 @@ export type APIRoleSelectComponent = APIBaseAutoPopulatedSelectMenuComponent<
|
||||
*/
|
||||
export type APIMentionableSelectComponent = APIBaseAutoPopulatedSelectMenuComponent<
|
||||
ComponentType.MentionableSelect,
|
||||
SelectMenuDefaultValueType.Role | SelectMenuDefaultValueType.User
|
||||
SelectMenuDefaultValueType
|
||||
>;
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user