Skip to content

Commit

Permalink
types: remove MessageSelectMenu#addOption
Browse files Browse the repository at this point in the history
  • Loading branch information
monbrey committed Jun 4, 2021
1 parent 542cb27 commit 659d1ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,6 @@ declare module 'discord.js' {
public options: MessageSelectOption[];
public placeholder: string | null;
public type: 'SELECT_MENU';
public addOption(option: MessageSelectOption): this;
public addOptions(options: MessageSelectOption[] | MessageSelectOption[][]): this;
public setCustomID(customID: string): this;
public setMaxValues(maxValues: number): this;
Expand Down Expand Up @@ -3560,7 +3559,7 @@ declare module 'discord.js' {
interface MessageSelectOption {
default?: boolean;
description?: string;
emoji?: Emoji | RawEmoji;
emoji?: GuildEmoji | RawEmoji;
label: string;
value: string;
}
Expand Down

0 comments on commit 659d1ce

Please sign in to comment.