Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/tests/deps.ts>avatarURL

An object oriented Discordeno framework
Latest
function avatarURL
import { avatarURL } from "https://deno.land/x/oasis@2.1.0/tests/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; }