This commit is contained in:
March 7th
2022-06-04 14:32:35 +07:00
parent 9688d28a6e
commit 852db8048b
5 changed files with 21 additions and 16 deletions

3
typings/index.d.ts vendored
View File

@@ -2680,7 +2680,7 @@ export class User extends PartialTextBasedChannel(Base) {
public readonly premiumGuildSince: Date;
public readonly bio: string | null;
public readonly mutualGuilds: Collection<Snowflake, object>;
public readonly presence: Presence;
public readonly presence?: Presence;
public avatarURL(options?: ImageURLOptions): string | null;
public bannerURL(options?: ImageURLOptions): string | null;
public createDM(force?: boolean): Promise<DMChannel>;
@@ -2697,6 +2697,7 @@ export class User extends PartialTextBasedChannel(Base) {
public setNote(note?: any): Promise<string>;
public getProfile(): Promise<User>;
public toString(): UserMention;
public getPresence(): Promise<Presence | undefined>;
}
export class UserContextMenuInteraction<Cached extends CacheType = CacheType> extends ContextMenuInteraction<Cached> {