mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +01:00
feat: user avatar decorations (#8914)
feat(User): add avatar decorations Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
This commit is contained in:
2
packages/discord.js/typings/index.d.ts
vendored
2
packages/discord.js/typings/index.d.ts
vendored
@@ -3096,6 +3096,7 @@ export class User extends PartialTextBasedChannel(Base) {
|
||||
|
||||
public accentColor: number | null | undefined;
|
||||
public avatar: string | null;
|
||||
public avatarDecoration: string | null;
|
||||
public banner: string | null | undefined;
|
||||
public bot: boolean;
|
||||
public get createdAt(): Date;
|
||||
@@ -3113,6 +3114,7 @@ export class User extends PartialTextBasedChannel(Base) {
|
||||
public get tag(): string;
|
||||
public username: string;
|
||||
public avatarURL(options?: ImageURLOptions): string | null;
|
||||
public avatarDecorationURL(options?: BaseImageURLOptions): string | null;
|
||||
public bannerURL(options?: ImageURLOptions): string | null | undefined;
|
||||
public createDM(force?: boolean): Promise<DMChannel>;
|
||||
public deleteDM(): Promise<DMChannel>;
|
||||
|
||||
Reference in New Issue
Block a user