Skip to main content
Latest
function avatarURL
import { avatarURL } from "https://deno.land/x/discordeno_cache_plugin@0.0.21/deps.ts";

The users custom avatar or the default avatar if you don't have a member object.

Parameters

bot: Bot
userId: bigint
discriminator: number
optional
options: { avatar: bigint | undefined; size?: ImageSize; format?: ImageFormat; }