import { getAvatarURL } from "https://deno.land/x/discordeno@17.2.0/template/beginner/deps.ts";
Builds a URL to a user's avatar stored in the Discord CDN.
Parameters
bot: Bot
- The bot instance to use to build the URL.
userId: BigString
- The ID of the user to get the avatar of.
optional
options: { avatar: BigString | undefined; size?: ImageSize; format?: ImageFormat; }- The parameters for the building of the URL.