typings: Add User#fetchFlags (#4138)

This commit is contained in:
Carter
2020-05-01 07:45:14 -06:00
committed by GitHub
parent d3c9384c9c
commit 6367f603f6

1
typings/index.d.ts vendored
View File

@@ -1489,6 +1489,7 @@ declare module 'discord.js' {
public displayAvatarURL(options?: ImageURLOptions & { dynamic?: boolean }): string;
public equals(user: User): boolean;
public fetch(): Promise<User>;
public fetchFlags(): Promise<UserFlags>;
public toString(): string;
public typingDurationIn(channel: ChannelResolvable): number;
public typingIn(channel: ChannelResolvable): boolean;