UNPKG

erium

Version:

Erium is Discord Bot Library made in typescript

14 lines (13 loc) 632 B
import { Base } from "../structures/Base"; import Client from "../structures/Client"; import { APIUser } from "discord-api-types/v10"; import { ImageSize, ImageUrlOptions, ImageFormat } from "../types/Image"; export declare const AVATAR: (user: string, hash: string, format: ImageFormat, size: ImageSize) => string; export declare const DEFAULT_AVATAR: (discriminator: string) => string; export declare class User extends Base { data: APIUser; avatar: string | null; constructor(client: Client, data: APIUser); getAvatarURL({ format, size, dynamic }: ImageUrlOptions): string; toString(): string; }