feat(Message): .clickButton() click the only one.

This commit is contained in:
NekoCyan
2022-12-02 13:11:55 +07:00
parent 6d170f3555
commit e197656225
2 changed files with 10 additions and 3 deletions

2
typings/index.d.ts vendored
View File

@@ -1974,7 +1974,7 @@ export class Message<Cached extends boolean = boolean> extends Base {
// Added
public markUnread(): Promise<boolean>;
public markRead(): Promise<boolean>;
public clickButton(button: MessageButton | string): Promise<InteractionResponse>;
public clickButton(button: MessageButton | string | null): Promise<InteractionResponse>;
public selectMenu(menuID: string, options: string[]): Promise<InteractionResponse>;
public selectMenu(options: string[]): Promise<InteractionResponse>;
public contextMenu(botID: Snowflake, commandName: string): Promise<InteractionResponse>;