fix: Member#guildMember return type

This commit is contained in:
ayntee
2020-12-19 13:19:39 +04:00
parent c910c381a0
commit 01fc00334e

View File

@@ -134,7 +134,7 @@ export interface Member {
/** Get the nickname or the username if no nickname */
name(guildID: string): string;
/** Get the nickname */
guildMember(guildID: string): GuildMember;
guildMember(guildID: string): GuildMember | undefined;
/** Send a direct message to the user is possible */
sendDM(content: string | MessageContent): Promise<any>;
/** Kick the member from a guild */