Skip to content
This repository was archived by the owner on Dec 24, 2021. It is now read-only.

Commit ac05805

Browse files
authored
Improve typings (#382)
Override `client` member of CommandoMessage class as CommandoClient type
1 parent dbe7d6a commit ac05805

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

typings/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ declare module 'discord.js-commando' {
161161
public responsePositions: { [key: string]: number } | null;
162162
public responses: { [key: string]: CommandoMessage[] } | null;
163163
public readonly guild: CommandoGuild;
164+
public readonly client: CommandoClient;
164165

165166
private deleteRemainingResponses(): void;
166167
private editCurrentResponse(id: string, options: MessageEditOptions | Exclude<MessageAdditions, MessageAttachment>): Promise<CommandoMessage | CommandoMessage[]>;

0 commit comments

Comments
 (0)