Skip to content

Commit

Permalink
fix: remove type from Options
Browse files Browse the repository at this point in the history
  • Loading branch information
monbrey committed May 28, 2021
2 parents c6c7bf2 + f58d614 commit 8ecb49d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions typings/index.d.ts
Expand Up @@ -3310,7 +3310,7 @@ declare module 'discord.js' {
interface MessageButtonOptions extends BaseMessageComponentOptions {
customID?: string;
disabled?: boolean;
emoji?: RawEmoji;
emoji?: GuildEmoji | RawEmoji;
label?: string;
style: MessageButtonStyleResolvable;
url?: string;
Expand Down Expand Up @@ -3468,13 +3468,12 @@ declare module 'discord.js' {
minValues?: number;
options?: MessageSelectOption[];
placeholder?: string;
type: 'SELECT_MENU' | MessageComponentTypes.SELECT_MENU;
}

interface MessageSelectOption {
default?: boolean;
description?: string;
emoji?: RawEmoji;
emoji?: Emoji | RawEmoji;
label: string;
value: string;
}
Expand Down

0 comments on commit 8ecb49d

Please sign in to comment.