Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Extremely Popular
Go to Latest
function avatarURL
import { avatarURL } from "https://deno.land/x/discordeno@13.0.0-rc45/plugins/permissions/deps.ts";

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

Parameters

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